From 0bcc3c1d4b653e9199147e26b130e241aaf186bd Mon Sep 17 00:00:00 2001 From: gorsutlame Date: Fri, 22 Mar 2024 16:18:10 +0700 Subject: [PATCH] THEME-KIT #20 | fix test --- tests/test_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_command.py b/tests/test_command.py index 231529b..23006fc 100644 --- a/tests/test_command.py +++ b/tests/test_command.py @@ -372,7 +372,7 @@ def test_watch_command_with_create_image_file_should_call_gateway_with_correct_a ) self.assertIn(expected_call_added, self.mock_gateway.mock_calls) - assert mock_time.call_count == 1 + mock_time.sleep.assert_called_once_with(0.07) @patch("ntk.command.Command._get_accept_files", autospec=True) @patch("ntk.command.Command._compile_sass", autospec=True)