From 528a36d81e504dc0a7b724268e13c20fa0025594 Mon Sep 17 00:00:00 2001 From: Anatoly Bubenkov Date: Tue, 28 May 2013 16:50:41 +0200 Subject: [PATCH] base path for feature files --- tests/feature/test_feature_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/feature/test_feature_path.py b/tests/feature/test_feature_path.py index dbf4eff..3ded85e 100644 --- a/tests/feature/test_feature_path.py +++ b/tests/feature/test_feature_path.py @@ -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)