Fix parametrizing

This commit is contained in:
Florian Bruhin 2017-02-04 19:03:59 +01:00
parent b9ddea0e7a
commit b6e31d4172

View File

@ -125,7 +125,7 @@ def test_invalid_port():
res.resolve(QNetworkProxyQuery(QUrl("https://example.com/test")))
@pytest.mark.parametrize(string, ["", "{"])
@pytest.mark.parametrize('string', ["", "{"])
def test_wrong_pac_string(string):
with pytest.raises(pac.EvalProxyError):
pac.PACResolver(string)