refactor: remove redundant get_system_info method and update related test

This commit is contained in:
Paul Gauthier 2024-09-05 13:00:32 -07:00 committed by Paul Gauthier (aider)
parent 45855bd96c
commit 8cfdcbd976
2 changed files with 2 additions and 8 deletions

View file

@ -628,8 +628,8 @@ class TestMain(TestCase):
output=DummyOutput(),
return_coder=True,
)
system_info = coder.get_system_info()
self.assertIn("Chat language: Spanish", system_info)
system_info = coder.get_platform_info()
self.assertIn("Spanish", system_info)
@patch("git.Repo.init")
def test_main_exit_with_git_command_not_found(self, mock_git_init):