Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 0b7c7ce

Browse files
lmineirojmcs
authored andcommitted
fix flaky test_invalid_definition (#539)
1 parent 88b9de9 commit 0b7c7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_invalid_definition():
4343

4444
result = runner.invoke(cli, ['print', 'myapp.yaml', '--region=aa-fakeregion-1', '123'], catch_exceptions=False)
4545

46-
assert 'Error: Invalid value for "DEFINITION"' in result.output
46+
assert 'error: invalid value for "definition"' in result.output.lower()
4747

4848

4949
def test_file_not_found():

0 commit comments

Comments
 (0)