Skip to content
Myr

Revert "Small test added"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit f0d3edf4090f3228f576cee665e3135052fbf303.

authored by Kamil Madac · committed by Kamil Madac · parent f0d3edf · Browse files · 1 file+0 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−1 removed

  • other:+0 added−1 removed

1 file+0 added−1 removed

modified:test_requests.py-1 removed
924 unmodified lines
925 """ Ensures that IP addresses are correctly matches with ranges in no_proxy variable """926 from requests.utils import get_environ_proxies927 os.environ['no_proxy'] = "127.0.0.1,localhost.localdomain,192.168.0.0/24,172.16.1.1"928 assert get_environ_proxies('http://localhost.localdomain:5000/v1.0/') == {}929 assert get_environ_proxies('http://www.requests.com:5000/v1.0/') != {}929 assert get_environ_proxies('http://www.requests.com/') != {}930931if __name__ == '__main__':932 unittest.main()