mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 05:14:59 +00:00
style: Format code to comply with linter rules
This commit is contained in:
parent
41e8f4401e
commit
7c5cad74ab
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ class TestLinter(unittest.TestCase):
|
||||||
|
|
||||||
def test_get_rel_fname(self):
|
def test_get_rel_fname(self):
|
||||||
import os
|
import os
|
||||||
|
|
||||||
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")
|
||||||
expected_path = os.path.normpath("../../other/path/file.py")
|
expected_path = os.path.normpath("../../other/path/file.py")
|
||||||
actual_path = os.path.normpath(self.linter.get_rel_fname("/other/path/file.py"))
|
actual_path = os.path.normpath(self.linter.get_rel_fname("/other/path/file.py"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue