We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864116f commit 0083a16Copy full SHA for 0083a16
tests/test_cli/conftest.py
@@ -1,6 +1,6 @@
1
+import pkg_resources
2
import pytest
3
import typer
-import pkg_resources
4
from typer.testing import CliRunner
5
6
app = typer.Typer(name="dummy", help="Dummy app")
tests/test_cli/test_loader.py
@@ -7,7 +7,7 @@ def test_import_module() -> None:
7
8
9
def test_import_module_with_fake_cli(fake_cli) -> None:
10
- from sqlmodel.cli import get_entry_points, cli
+ from sqlmodel.cli import cli, get_entry_points
11
12
cli.registered_groups = []
13
get_entry_points()
tests/test_cli/test_migrations.py
@@ -1,6 +1,7 @@
-from sqlmodel.cli import cli
-from pathlib import Path
import configparser
+from pathlib import Path
+
+from sqlmodel.cli import cli
def test_base_init(tmpdir, runner):
0 commit comments