File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ async def clear_redis(redis_url: str) -> None:
50
50
await client .aclose () # type: ignore[attr-defined]
51
51
52
52
53
- def pytest_addoption (parser ) :
53
+ def pytest_addoption (parser : pytest . Parser ) -> None :
54
54
parser .addoption (
55
55
"--run-api-tests" ,
56
56
action = "store_true" ,
@@ -59,13 +59,15 @@ def pytest_addoption(parser):
59
59
)
60
60
61
61
62
- def pytest_configure (config ) :
62
+ def pytest_configure (config : pytest . Config ) -> None :
63
63
config .addinivalue_line (
64
64
"markers" , "requires_api_keys: mark test as requiring API keys"
65
65
)
66
66
67
67
68
- def pytest_collection_modifyitems (config , items ):
68
+ def pytest_collection_modifyitems (
69
+ config : pytest .Config , items : list [pytest .Item ]
70
+ ) -> None :
69
71
if config .getoption ("--run-api-tests" ):
70
72
return
71
73
skip_api = pytest .mark .skip (
You can’t perform that action at this time.
0 commit comments