Skip to content

Commit

Permalink
fix(tests): module path;
Browse files Browse the repository at this point in the history
- Fixed mock module path.
  • Loading branch information
JVickery-TBS committed Jan 31, 2024
1 parent 407db19 commit 3470de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/xloader/tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3470de3

Please sign in to comment.