test(harness): isolate imports and stabilize browser and DNS fixtures

This commit is contained in:
Alexandre Teixeira
2026-09-22 23:27:08 +01:00
parent 4520b4f6f0
commit 9bc1cdcab0
15 changed files with 31 additions and 164 deletions
+1
View File
@@ -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(