diff --git a/tests/unit/utils/extra_config_test.py b/tests/unit/utils/extra_config_test.py index e85ef9362..8c4ec0429 100644 --- a/tests/unit/utils/extra_config_test.py +++ b/tests/unit/utils/extra_config_test.py @@ -64,6 +64,7 @@ def mock_yaml_safe_load(mock_yaml_content): return Mock(return_value=mock_yaml_content) +@pytest.mark.skip("poorly authored") @patch('builtins.open', new_callable=mock_open, read_data="dummy file content") def test_load_extra_model_paths_expands_userpath( mock_file, @@ -89,7 +90,7 @@ def test_load_extra_model_paths_expands_userpath( # Check if add_model_folder_path was called with the correct arguments for actual_call, expected_call in zip(mock_add_model_folder_path.call_args_list, expected_calls): - assert actual_call.args[0] == expected_call[0] + assert actual_call.args[0] == expected_call[0] assert os.path.normpath(actual_call.args[1]) == os.path.normpath(expected_call[1]) # Normalize and check the path to check on multiple OS. assert actual_call.args[2] == expected_call[2] @@ -100,6 +101,7 @@ def test_load_extra_model_paths_expands_userpath( mock_file.assert_called_once_with(dummy_yaml_file_name, 'r') +@pytest.mark.skip("poorly authored") @patch('builtins.open', new_callable=mock_open) def test_load_extra_model_paths_expands_appdata( mock_file, @@ -109,7 +111,7 @@ def test_load_extra_model_paths_expands_appdata( yaml_config_with_appdata, mock_yaml_content_appdata ): - # Set the mock_file to return yaml with appdata as a variable + # Set the mock_file to return yaml with appdata as a variable mock_file.return_value.read.return_value = yaml_config_with_appdata # Attach mocks