From: Pieter Lenaerts <plenae@disroot.org>
Date: Sun, 28 Jun 2026 15:30:52 +0200
Subject: Disable proxies during tests

This is specific to using debian apt proxies, so not forwarding.

Forwarded: not-needed
---
 tests/conftest.py | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 tests/conftest.py

diff --git a/tests/conftest.py b/tests/conftest.py
new file mode 100644
index 0000000..d226d4f
--- /dev/null
+++ b/tests/conftest.py
@@ -0,0 +1,7 @@
+import pytest
+
+@pytest.fixture(autouse=True)
+def no_proxy_env(monkeypatch):
+    """Ensure proxy env vars are unset for all tests."""
+    for var in ('HTTP_PROXY', 'HTTPS_PROXY', 'http_proxy', 'https_proxy'):
+        monkeypatch.delenv(var, raising=False)
