Skip to content

Commit cf363d0

Browse files
switch pytest.mark.asyncio position because maybe that's why the tests are skipped on 3.8/3.9
Signed-off-by: Achille Roussel <[email protected]>
1 parent d016221 commit cf363d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def test_can_be_constructed_on_https():
3434
Client(api_url="https://example.com", api_key="foo")
3535

3636

37-
@mock.patch.dict(os.environ, {"DISPATCH_API_KEY": "0000000000000000"})
3837
@pytest.mark.asyncio
38+
@mock.patch.dict(os.environ, {"DISPATCH_API_KEY": "0000000000000000"})
3939
async def test_api_key_from_env():
4040
async with server() as api:
4141
client = Client(api_url=api.url)

0 commit comments

Comments
 (0)