base path for feature files

This commit is contained in:
Anatoly Bubenkov 2013-05-28 16:50:41 +02:00
parent ce83eb2a1d
commit 528a36d81e
1 changed files with 1 additions and 1 deletions

View File

@ -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)