From ac148c11ecce52ed436991b4f540816908513d2b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 15 Oct 2015 08:26:28 +0200 Subject: [PATCH] Skip bdd tests when frozen for now. See: https://github.com/pytest-dev/pytest-bdd/issues/158 https://github.com/pytest-dev/pytest-bdd/issues/159 --- tests/integration/features/test_features.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/integration/features/test_features.py b/tests/integration/features/test_features.py index 73f4c8af7..73b67857f 100644 --- a/tests/integration/features/test_features.py +++ b/tests/integration/features/test_features.py @@ -17,9 +17,15 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . -import pytest_bdd as bdd +import sys -bdd.scenarios('.') +import pytest + +if hasattr(sys, 'frozen'): + pytest.skip("test") +else: + import pytest_bdd as bdd + bdd.scenarios('.') @bdd.given(bdd.parsers.parse("I set {sect} -> {opt} to {value}"))