Skip to content

Commit

Permalink
Migrate tests from #1095 to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
ethho committed Sep 12, 2024
1 parent 219d6d6 commit 53e81e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import subprocess
import pytest
import datajoint as dj
from . import CONN_INFO_ROOT, PREFIX


def test_cli_version(capsys):
Expand Down Expand Up @@ -91,8 +90,8 @@ def test_cli_args():
assert "test_host" == stdout[37:46]


def test_cli_schemas():
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)

@schema
class IJ(dj.Lookup):
Expand Down

0 comments on commit 53e81e3

Please sign in to comment.