diff --git a/tests/test_auth.py b/tests/test_auth.py index e05c6a62..e9ba5b1c 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -307,7 +307,7 @@ async def test_auth_with_dstok_token(ds_client, scenario, should_work): @pytest.mark.parametrize("expires", (None, 1000, -1000)) -def test_cli_create_token(event_loop, app_client, expires): +def test_cli_create_token(app_client, expires): secret = app_client.ds._secret runner = CliRunner() args = ["create-token", "--secret", secret, "test"] diff --git a/tests/test_black.py b/tests/test_black.py index 0448a35e..ccf51171 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -5,7 +5,7 @@ from pathlib import Path code_root = Path(__file__).parent.parent -def test_black(event_loop): +def test_black(): runner = CliRunner() result = runner.invoke(black.main, [str(code_root), "--check"]) assert result.exit_code == 0, result.output diff --git a/tests/test_cli.py b/tests/test_cli.py index 83265a82..17f7c1f9 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -36,7 +36,7 @@ def test_inspect_cli(app_client): assert expected_count == database["tables"][table_name]["count"] -def test_inspect_cli_writes_to_file(event_loop, app_client): +def test_inspect_cli_writes_to_file(app_client): runner = CliRunner() result = runner.invoke( cli, ["inspect", "fixtures.db", "--inspect-file", "foo.json"]