summaryrefslogtreecommitdiffstats
path: root/dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py')
-rw-r--r--dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py b/dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py
index 9a71e41..a291a74 100644
--- a/dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py
+++ b/dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py
@@ -40,9 +40,9 @@ def _get_spec(path):
return json.load(file)
-def test_basic(mock_cli_config):
-
- obj = {'catalog': MockCatalog(purge_existing=True, db_name='dcae_cli.test.db', enforce_image=False),
+def test_basic(mock_cli_config, mock_db_url, tmpdir):
+ obj = {'catalog': MockCatalog(purge_existing=True, db_name='dcae_cli.test.db',
+ enforce_image=False, db_url=mock_db_url),
'config': {'user': 'test-user'}}
runner = CliRunner()