diff --git a/tests/conftest.py b/tests/conftest.py index 33f9a472..f9b84c4c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -14,6 +14,7 @@ def pytest_collection_modifyitems(items): # Ensure test_black.py and test_inspect.py run first before any asyncio code kicks in move_to_front(items, "test_black") move_to_front(items, "test_inspect_cli") + move_to_front(items, "test_inspect_cli_writes_to_file") def move_to_front(items, test_name): diff --git a/tests/test_inspect.py b/tests/test_inspect.py index d039c162..53e678d1 100644 --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -21,6 +21,11 @@ def test_inspect_cli(app_client): def test_inspect_cli_writes_to_file(app_client): + print(app_client) + import os + + print(os.getcwd()) + print(os.listdir(".")) runner = CliRunner() result = runner.invoke( cli, ["inspect", "fixtures.db", "--inspect-file", "foo.json"]