Fix Proxy configtype test

This commit is contained in:
Florian Bruhin 2016-04-07 21:42:26 +02:00
parent f5b9e0ab27
commit 00873fd000

View File

@ -1663,9 +1663,8 @@ class TestProxy:
actual = klass().complete()
expected = [('system', "Use the system wide proxy."),
('none', "Don't use any proxy"),
('http://', 'HTTP proxy URL'),
('socks://', 'SOCKS proxy URL')]
assert actual == expected
('http://', 'HTTP proxy URL')]
assert actual[:3] == expected
@pytest.mark.parametrize('val, expected', [
('', None),