Skip to content

Commit 6eae4aa

Browse files
committed
Tests: Fix test_record_missing_required_property after SDK update
1 parent d14bba8 commit 6eae4aa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

target_cratedb/tests/test_standard_target.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ def test_record_missing_required_property(cratedb_target):
284284
with pytest.raises(InvalidRecord) as e:
285285
file_name = "record_missing_required_property.singer"
286286
singer_file_to_target(file_name, cratedb_target)
287-
assert "Record Message Validation Error: 'id' is a required property" in str(e.value)
287+
assert "Record Message Validation Error: 1 schema validation error(s)\n$: 'id' is a required property" in str(
288+
e.value
289+
)
288290

289291

290292
@pytest.mark.skipif(not MELTANO_CRATEDB_STRATEGY_DIRECT, reason="Does not work in temptable/upsert mode")

0 commit comments

Comments
 (0)