style: Format long line in test_get_rel_fname method

This commit is contained in:
Paul Gauthier (aider) 2024-09-04 13:57:16 -07:00
parent d8027030b0
commit 15abe6b921

View file

@ -37,7 +37,9 @@ class TestLinter(unittest.TestCase):
def test_get_rel_fname(self): def test_get_rel_fname(self):
self.assertEqual(self.linter.get_rel_fname("/test/root/file.py"), "file.py") self.assertEqual(self.linter.get_rel_fname("/test/root/file.py"), "file.py")
self.assertEqual(self.linter.get_rel_fname("/other/path/file.py"), "../../other/path/file.py") self.assertEqual(
self.linter.get_rel_fname("/other/path/file.py"), "../../other/path/file.py"
)
@patch("subprocess.Popen") @patch("subprocess.Popen")
def test_run_cmd(self, mock_popen): def test_run_cmd(self, mock_popen):