From 0d86124b15f0a3c9db56e6c14e6855cc2c7ec32e Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 30 Oct 2024 06:32:17 -0700 Subject: [PATCH] test: add comment about tool warning args inspection --- tests/basic/test_models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/basic/test_models.py b/tests/basic/test_models.py index f14183b4e..065692f28 100644 --- a/tests/basic/test_models.py +++ b/tests/basic/test_models.py @@ -73,6 +73,7 @@ class TestModels(unittest.TestCase): result ) # Should return True because there's a problem with the editor model mock_io.tool_warning.assert_called_with(ANY) # Ensure a warning was issued + #ai print the args that tool_warning was called with! self.assertGreaterEqual(mock_io.tool_warning.call_count, 2) # Expect two warnings warning_messages = [call.args[0] for call in mock_io.tool_warning.call_args_list] self.assertTrue(