From 538752d0cf22a6b284c29ae22ee3c8b546932e6c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 5 Nov 2024 11:42:30 -0800 Subject: [PATCH] test: add mock for sendchat.simple_send_with_retries in editblock test --- tests/basic/test_editblock.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/basic/test_editblock.py b/tests/basic/test_editblock.py index e018c12b4..de3a37fba 100644 --- a/tests/basic/test_editblock.py +++ b/tests/basic/test_editblock.py @@ -372,6 +372,9 @@ creating a new file coder.send = mock_send + def mock_sswr(*args, **kwargs): return "noop" + #ai mock sendchat.simple_send_with_retries with that ^^ mock! + # Call the run method with a message coder.run(with_message="hi")