forked from test_framework/pytest-bdd
base path for feature files
This commit is contained in:
parent
ce83eb2a1d
commit
528a36d81e
|
@ -24,4 +24,4 @@ def test_feature_path(request, scenario_name):
|
|||
with pytest.raises(IOError) as exc:
|
||||
sc(request)
|
||||
|
||||
assert exc.value.filename == os.path.join('/does/not/exist/', 'steps.feature')
|
||||
assert os.path.join('/does/not/exist/', 'steps.feature') in str(exc.value)
|
||||
|
|
Loading…
Reference in New Issue