From 3470de3bf7dbc63e4112b0c54fd2e583cbffacb6 Mon Sep 17 00:00:00 2001 From: Jesse Vickery Date: Wed, 31 Jan 2024 18:30:04 +0000 Subject: [PATCH] fix(tests): module path; - Fixed mock module path. --- ckanext/xloader/tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/xloader/tests/test_plugin.py b/ckanext/xloader/tests/test_plugin.py index 8988e750..1121e452 100644 --- a/ckanext/xloader/tests/test_plugin.py +++ b/ckanext/xloader/tests/test_plugin.py @@ -21,7 +21,7 @@ def mock_toolkit_config(request): @pytest.fixture def mock_xloader_formats(request): - with mock.patch('ckanext.xloader.utils.XLoaderFormats.is_it_an_xloader_format') as mock_is_xloader_format: + with mock.patch('ckanext.xloader.plugin.XLoaderFormats.is_it_an_xloader_format') as mock_is_xloader_format: mock_is_xloader_format.return_value = request.param yield mock_is_xloader_format