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)