Skip to content

Commit 8487159

Browse files
fix formatting
Signed-off-by: Achille Roussel <[email protected]>
1 parent debe5d8 commit 8487159

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ async def test_api_key_from_env():
4848
client = Client(api_url=api.url)
4949

5050
with pytest.raises(
51-
PermissionError,
52-
match=r"Dispatch received an invalid authentication token \(check DISPATCH_API_KEY is correct\)",
51+
PermissionError,
52+
match=r"Dispatch received an invalid authentication token \(check DISPATCH_API_KEY is correct\)",
5353
) as mc:
5454
await client.dispatch([Call(function="my-function", input=42)])
5555
finally:
@@ -58,6 +58,7 @@ async def test_api_key_from_env():
5858
else:
5959
os.environ["DISPATCH_API_KEY"] = prev_api_key
6060

61+
6162
@pytest.mark.asyncio
6263
async def test_api_key_from_arg():
6364
async with server() as api:

0 commit comments

Comments
 (0)