We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219d6d6 commit 53e81e3Copy full SHA for 53e81e3
tests/test_cli.py
@@ -6,7 +6,6 @@
6
import subprocess
7
import pytest
8
import datajoint as dj
9
-from . import CONN_INFO_ROOT, PREFIX
10
11
12
def test_cli_version(capsys):
@@ -91,8 +90,8 @@ def test_cli_args():
91
90
assert "test_host" == stdout[37:46]
92
93
94
-def test_cli_schemas():
95
- schema = dj.Schema(PREFIX + "_cli", locals(), connection=dj.conn(**CONN_INFO_ROOT))
+def test_cli_schemas(prefix, connection_root):
+ schema = dj.Schema(prefix + "_cli", locals(), connection=connection_root)
96
97
@schema
98
class IJ(dj.Lookup):
0 commit comments