Turn on BDD tests for pytest 3.0 again

pytest-bdd is fixed in the respective PR
This commit is contained in:
Florian Bruhin 2016-08-19 17:17:08 +02:00
parent bcb06f0cc6
commit 003952748b

View File

@ -121,8 +121,7 @@ def pytest_collection_modifyitems(items):
def pytest_ignore_collect(path):
"""Ignore BDD tests if we're unable to run them."""
skip_bdd = (hasattr(sys, 'frozen') or
int(pytest.__version__.split('.')[0]) == 3)
skip_bdd = hasattr(sys, 'frozen')
rel_path = path.relto(os.path.dirname(__file__))
return rel_path == os.path.join('end2end', 'features') and skip_bdd