Skip to content

Commit

Permalink
🐛 Adapted tests to new yaml error message
Browse files Browse the repository at this point in the history
Co-authored-by: Marite Guerrieri <marite.guerrieri@somenergia.coop>
  • Loading branch information
vokimon and MariteSomEnergia committed May 25, 2023
1 parent 182347f commit d22ae1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/intercoop/packaging_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_parse_badYaml(self):
packaging.BadFormat,
"Error while parsing message as YAML:\n"
"while scanning for the next token\n"
"found character '\\t' that cannot start any token\n"
"found character that cannot start any token\n"
" in \"<file>\", line 1, column 1"
)

Expand Down Expand Up @@ -162,7 +162,7 @@ def test_parse_badContainerYaml(self):
packaging.BadMessage,
"Malformed message: Bad message YAML format\n"
"while scanning for the next token\n"
"found character '\\t' that cannot start any token\n"
"found character that cannot start any token\n"
" in \"<file>\", line 1, column 1"
)

Expand Down

0 comments on commit d22ae1a

Please sign in to comment.