Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido Barbaglia committed Nov 15, 2017
1 parent 3b2f65c commit 0e181a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pact_test/runners/service_providers/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ def filter_rule(filename):
def all_files(self):
try:
return Right(os.listdir(self.config.provider_tests_path))
except FileNotFoundError as e:
except Exception as e:
return Left(str(e))
2 changes: 1 addition & 1 deletion tests/runners/service_providers/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def test_missing_test_directory():
t = ServiceProviderTestSuiteRunner(config)
result = t.verify()
assert type(result) is Left
assert result.value == "[Errno 2] No such file or directory: '/app/spam'"
assert result.value.startswith("[Errno 2] No such file or directory:")

0 comments on commit 0e181a4

Please sign in to comment.