Skip to content

Commit d7dda01

Browse files
committed
test: tolerate wrapped schema error output
1 parent 933f011 commit d7dda01

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/integrations/test_integration_subcommand.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ def test_list_rejects_newer_integration_state_schema(self, tmp_path):
111111
os.chdir(old_cwd)
112112

113113
assert result.exit_code != 0
114-
assert "schema 99" in result.output
115-
assert "only supports schema 1" in result.output
114+
normalized = " ".join(result.output.split())
115+
assert "schema 99" in normalized
116+
assert "only supports schema 1" in normalized
116117

117118

118119
# ── install ──────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)