@pytest.fixture(scope='function')
def httpbin_secure_untrusted(monkeypatch, httpbin_secure):
 monkeypatch.delenv('REQUESTS_CA_BUNDLE')
 return httpbin_secure

@ pytest . fixture ( scope = 'function' ) def httpbin_secure_untrusted ( monkeypatch , httpbin_secure ) : monkeypatch . delenv ( 'REQUESTS_CA_BUNDLE' ) return httpbin_secure
like the httpbin_secure fixture .