From a1de313aa3c11aff44041110a3efbb3237eeb799 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 23 Apr 2017 23:10:29 +0200 Subject: [PATCH] Add qapp to test_proxy_from_url_pac --- tests/unit/utils/test_urlutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/utils/test_urlutils.py b/tests/unit/utils/test_urlutils.py index 4729bd661..6649873e9 100644 --- a/tests/unit/utils/test_urlutils.py +++ b/tests/unit/utils/test_urlutils.py @@ -765,7 +765,7 @@ class TestProxyFromUrl: assert urlutils.proxy_from_url(QUrl(url)) == expected @pytest.mark.parametrize('scheme', ['pac+http', 'pac+https']) - def test_proxy_from_url_pac(self, scheme): + def test_proxy_from_url_pac(self, scheme, qapp): fetcher = urlutils.proxy_from_url(QUrl('{}://foo'.format(scheme))) assert isinstance(fetcher, pac.PACFetcher)