Skip to content

Commit

Permalink
Modify disable ssl setting tests to allow any for headers and timeout (
Browse files Browse the repository at this point in the history
  • Loading branch information
serinamarie authored and masonmenges committed Jan 10, 2023
1 parent f80977c commit 548029c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/client/test_orion_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,10 +1168,10 @@ async def test_prefect_api_tls_insecure_skip_verify_setting_set_to_false(monkeyp
get_client()

mock.assert_called_once_with(
headers={"X-PREFECT-API-VERSION": ANY},
headers=ANY,
app=ANY,
base_url=ANY,
timeout=httpx.Timeout(timeout=ANY),
timeout=ANY,
)


Expand All @@ -1180,10 +1180,10 @@ async def test_prefect_api_tls_insecure_skip_verify_default_setting(monkeypatch)
monkeypatch.setattr("prefect.client.orion.PrefectHttpxClient", mock)
get_client()
mock.assert_called_once_with(
headers={"X-PREFECT-API-VERSION": ANY},
headers=ANY,
app=ANY,
base_url=ANY,
timeout=httpx.Timeout(timeout=ANY),
timeout=ANY,
)


Expand Down

0 comments on commit 548029c

Please sign in to comment.