Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
edyan committed May 16, 2021
1 parent 360a2bc commit 59e88bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/configreader_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ def test_invalid_config(self):
out, err = self.capfd.readouterr()

regex = re.compile(
'Failed validating config.+config_default.yml.+config_invalid.yml.*',
'.+Failed validating config.+config_default\.yml.+config_invalid\.yml.+',
re.MULTILINE)
self.assertRegex(err, regex)

regex = re.compile('Additional properties are not allowed.*', re.MULTILINE)
regex = re.compile('.+Additional properties are not allowed.+toto.+', re.MULTILINE)
self.assertRegex(err, regex)

def test_valid_config(self):
Expand Down

0 comments on commit 59e88bd

Please sign in to comment.