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 380b6b6 commit 864116fCopy full SHA for 864116f
.DS_Store
8 KB
tests/test_cli/__init__.py
@@ -1,8 +0,0 @@
1
-from typer.testing import CliRunner
2
-
3
4
-def test_import_module():
5
- from sqlmodel.cli import cli
6
7
- assert cli is not None
8
- assert cli.__name__ == "ok"
tests/test_cli/test_loader.py
@@ -1,10 +1,7 @@
+from sqlmodel.cli import cli
def test_import_module() -> None:
- from sqlmodel.cli.migrations.cli import migrations
assert len(cli.registered_groups) == 1
9
assert cli.registered_groups[0].name == "migrations"
10
0 commit comments