pytest: pass --disable to curl

To avoid a local `.curlrc` interfering with tests.

Closes #21816
This commit is contained in:
Viktor Szakats 2026-05-31 18:31:17 +02:00
parent d806323ffd
commit 2802e65f6d
No known key found for this signature in database

View file

@ -1127,7 +1127,7 @@ class CurlClient:
else:
force_resolve = self._force_resolv
args = [self._curl, "-s", "--path-as-is"]
args = [self._curl, "--disable", "-s", "--path-as-is"]
if 'CURL_TEST_EVENT' in os.environ:
args.append('--test-event')