From 6687a245474f05671a28f3526f35d29ba967c080 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 28 Aug 2024 16:00:49 -0700 Subject: [PATCH] style: format test_io.py with linter --- tests/basic/test_io.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/basic/test_io.py b/tests/basic/test_io.py index 642e19863..c7e29185d 100644 --- a/tests/basic/test_io.py +++ b/tests/basic/test_io.py @@ -171,11 +171,12 @@ class TestInputOutput(unittest.TestCase): commands.get_completions.return_value = ["gpt-3.5-turbo", "gpt-4"] autocompleter = AutoCompleter(root, rel_fnames, addable_rel_fnames, commands, "utf-8") - + # Test case for "/model gpt" result = autocompleter.get_command_completions("/model gpt", ["/model", "gpt"]) self.assertEqual(result, ["gpt-3.5-turbo", "gpt-4"]) commands.get_completions.assert_called_once_with("model") + if __name__ == "__main__": unittest.main()