Compare commits

...

2 commits

Author SHA1 Message Date
Simon Willison
b5b0b25d21 Try again 2019-05-11 14:58:39 -07:00
Simon Willison
ebc3d92690 Extra debug info for Travis 2019-05-11 14:53:44 -07:00
2 changed files with 6 additions and 0 deletions

View file

@ -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):

View file

@ -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"]