From 0c6d6367de92a2233248f2ff294aec70d53ff607 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 11 Mar 2016 07:17:11 +0100 Subject: [PATCH] Force qapp fixture for test_configtypes_hypothesis. The test needs a QApplication --- tests/unit/config/test_configtypes_hypothesis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/config/test_configtypes_hypothesis.py b/tests/unit/config/test_configtypes_hypothesis.py index c83bdb092..a7ab043ef 100644 --- a/tests/unit/config/test_configtypes_hypothesis.py +++ b/tests/unit/config/test_configtypes_hypothesis.py @@ -42,6 +42,7 @@ def gen_classes(): yield member +@pytest.mark.usefixtures('qapp') @pytest.mark.parametrize('klass', gen_classes()) @hypothesis.given(strategies.text()) @hypothesis.example('\x00')