File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -369,9 +369,7 @@ def test_fetch_jotform_data_missing_api_url_and_key(self, mock_logger):
369369 result = fetch_jotform_data ()
370370
371371 # Check that the logger.error was called and None was returned
372- mock_logger .error .assert_called_once_with (
373- "API_URL or API_KEY is not set in settings."
374- )
372+ mock_logger .error .assert_called_once_with ("API_URL is not set in settings." )
375373 self .assertIsNone (result )
376374
377375 @override_settings (
@@ -403,9 +401,7 @@ def test_fetch_jotform_data_empty_api_key(self, mock_logger):
403401 result = fetch_jotform_data ()
404402
405403 # Check that the logger.error was called and None was returned
406- mock_logger .error .assert_called_once_with (
407- "API_URL or API_KEY is not set in settings."
408- )
404+ mock_logger .error .assert_called_once_with ("API_KEY is not set in settings." )
409405 self .assertIsNone (result )
410406
411407 @override_settings (
You can’t perform that action at this time.
0 commit comments