Fix parametrizing
This commit is contained in:
parent
b9ddea0e7a
commit
b6e31d4172
@ -125,7 +125,7 @@ def test_invalid_port():
|
|||||||
res.resolve(QNetworkProxyQuery(QUrl("https://example.com/test")))
|
res.resolve(QNetworkProxyQuery(QUrl("https://example.com/test")))
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(string, ["", "{"])
|
@pytest.mark.parametrize('string', ["", "{"])
|
||||||
def test_wrong_pac_string(string):
|
def test_wrong_pac_string(string):
|
||||||
with pytest.raises(pac.EvalProxyError):
|
with pytest.raises(pac.EvalProxyError):
|
||||||
pac.PACResolver(string)
|
pac.PACResolver(string)
|
||||||
|
Loading…
Reference in New Issue
Block a user