mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
try resolve
This commit is contained in:
parent
1f64128978
commit
d5921f1a9a
1 changed files with 2 additions and 3 deletions
|
@ -100,13 +100,12 @@ class TestCommands(TestCase):
|
|||
|
||||
self.assertEqual(len(coder.abs_fnames), 2)
|
||||
|
||||
dump(coder.abs_fnames)
|
||||
# Call the cmd_drop method with a glob pattern
|
||||
commands.cmd_drop("*2.py")
|
||||
|
||||
# Check if the Python files have been removed from the chat session
|
||||
self.assertIn(os.path.abspath("test1.py"), coder.abs_fnames)
|
||||
self.assertNotIn(os.path.abspath("test2.py"), coder.abs_fnames)
|
||||
self.assertIn(str(Path("test1.py").resolve()), coder.abs_fnames)
|
||||
self.assertNotIn(str(Path("test2.py").resolve()), coder.abs_fnames)
|
||||
|
||||
def test_cmd_add_bad_encoding(self):
|
||||
# Initialize the Commands and InputOutput objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue