Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingosse committed Oct 29, 2024
1 parent faf6994 commit 3ddc55b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,7 @@ def test_uds(tmp_path, available_port):
raise Exception("Test agent failed to start")


async def test_post_known_settings(
agent
):
async def test_post_known_settings(agent):
resp = await agent.post(
"/test/settings",
data='{ "trace_request_delay": 5 }',
Expand All @@ -423,7 +421,7 @@ async def test_post_known_settings(


async def test_post_unknown_settings(
agent,
agent,
):
resp = await agent.post(
"/test/settings",
Expand All @@ -433,4 +431,4 @@ async def test_post_unknown_settings(
assert resp.status == 422
text = await resp.text()
assert text == "Unknown key: 'dummy_setting'"
assert 'dummy_setting' not in agent.app
assert "dummy_setting" not in agent.app

0 comments on commit 3ddc55b

Please sign in to comment.