forked from openlp/openlp
Pep
This commit is contained in:
parent
fac5d4b798
commit
94758a9778
@ -279,7 +279,6 @@ class TestGetProxySettings(TestCase, TestMixin):
|
|||||||
mocked_settings.value.assert_not_called()
|
mocked_settings.value.assert_not_called()
|
||||||
assert result is None
|
assert result is None
|
||||||
|
|
||||||
|
|
||||||
def test_no_proxy_mode(self):
|
def test_no_proxy_mode(self):
|
||||||
"""
|
"""
|
||||||
Test that a dictionary with http and https values are set to None is returned, when `NO_PROXY` mode is specified
|
Test that a dictionary with http and https values are set to None is returned, when `NO_PROXY` mode is specified
|
||||||
@ -323,7 +322,6 @@ class TestGetProxySettings(TestCase, TestMixin):
|
|||||||
# THEN: The returned value should be the proxy servers without authentication
|
# THEN: The returned value should be the proxy servers without authentication
|
||||||
assert result == {'http': 'http://testhttp.server:port', 'https': 'https://testhttps.server:port'}
|
assert result == {'http': 'http://testhttp.server:port', 'https': 'https://testhttps.server:port'}
|
||||||
|
|
||||||
|
|
||||||
def test_manual_proxy_mode_auth(self):
|
def test_manual_proxy_mode_auth(self):
|
||||||
"""
|
"""
|
||||||
Test that the correct proxy addresses are returned when basic authentication is used
|
Test that the correct proxy addresses are returned when basic authentication is used
|
||||||
|
Loading…
Reference in New Issue
Block a user