From f40103cbba6a5dff20ffccb7a6e7949b5c6f9faa Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 17 Sep 2017 20:38:34 +0200 Subject: [PATCH] Don't require qapp for configtypes tests anymore We need to make sure they work without a QApplication, and the only reason they needed one before was standarddir. --- tests/unit/config/test_configtypes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit/config/test_configtypes.py b/tests/unit/config/test_configtypes.py index d9845ba03..861c052c2 100644 --- a/tests/unit/config/test_configtypes.py +++ b/tests/unit/config/test_configtypes.py @@ -214,7 +214,7 @@ class TestAll: def klass(self, request): return request.param - @pytest.mark.usefixtures('qapp', 'config_tmpdir') + @pytest.mark.usefixtures('config_tmpdir') @hypothesis.given(strategies.text()) @hypothesis.example('\x00') def test_from_str_hypothesis(self, klass, s): @@ -1561,7 +1561,6 @@ def unrequired_class(**kwargs): return configtypes.File(required=False, **kwargs) -@pytest.mark.usefixtures('qapp') @pytest.mark.usefixtures('config_tmpdir') class TestFile: