mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-13 18:32:20 +02:00
test(harness): isolate imports and stabilize browser and DNS fixtures
This commit is contained in:
@@ -105,6 +105,7 @@ async def test_api_call_root_path_has_no_trailing_slash():
|
||||
|
||||
with (
|
||||
patch.object(integrations, "_find_integration", return_value=DISCORD_INTEGRATION),
|
||||
patch("src.url_safety._default_resolver", return_value=["93.184.216.34"]),
|
||||
patch("httpx.AsyncClient", return_value=mock_client),
|
||||
):
|
||||
result = await integrations.execute_api_call(
|
||||
|
||||
Reference in New Issue
Block a user