From e27fee0c4e705c3da35056b296ed13165bf15093 Mon Sep 17 00:00:00 2001 From: karosis88 Date: Thu, 8 Jun 2023 10:52:58 +0300 Subject: [PATCH] Add red test --- .idea/workspace.xml | 133 ++++++++++++++++++++++++++++++++++++++++++++ tests/test_utils.py | 1 + 2 files changed, 134 insertions(+) create mode 100644 .idea/workspace.xml diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000000..add6a6877f --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + file://$PROJECT_DIR$/tests/client/test_proxies.py + 171 + + + file://$PROJECT_DIR$/httpx/_client.py + 753 + + + file://$PROJECT_DIR$/httpx/_client.py + 659 + + + file://$PROJECT_DIR$/httpx/_client.py + 213 + + + file://$PROJECT_DIR$/httpx/_utils.py + 236 + + + + + + + + + + \ No newline at end of file diff --git a/tests/test_utils.py b/tests/test_utils.py index ab0fcbecd9..9a7b8e71bd 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -191,6 +191,7 @@ def test_get_ssl_cert_file(): ({"no_proxy": "localhost"}, {"all://localhost": None}), ({"no_proxy": "github.com"}, {"all://*github.com": None}), ({"no_proxy": ".github.com"}, {"all://*.github.com": None}), + ({"no_proxy": "http://github.com"}, {"http://github.com": None}) ], ) def test_get_environment_proxies(environment, proxies):