We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3470de3 commit da124f9Copy full SHA for da124f9
ckanext/xloader/tests/test_plugin.py
@@ -15,14 +15,14 @@
15
@pytest.fixture
16
def mock_toolkit_config(request):
17
with mock.patch('ckan.plugins.toolkit.config.get') as mock_get:
18
- mock_get.return_value = request.param
+ mock_get.return_value = request.params
19
yield mock_get
20
21
22
23
def mock_xloader_formats(request):
24
with mock.patch('ckanext.xloader.plugin.XLoaderFormats.is_it_an_xloader_format') as mock_is_xloader_format:
25
- mock_is_xloader_format.return_value = request.param
+ mock_is_xloader_format.return_value = request.params
26
yield mock_is_xloader_format
27
28
0 commit comments