pytest-urllib3 A pytest plugin to mock urllib3 requests, inspired by pytest-httpx. Once installed, urllib3_mockpytest fixture will make sure every urllib3 request will be replied to with user provided ...
MOCK_TOKEN = os.environ.get("MOCK_MERCURY_TOKEN", "mock_token_12345") PORT = int(os.environ.get("MOCK_MERCURY_PORT", "8765")) ...