Skip to content

Commit aa3376c

Browse files
committed
adjust expected value in test
1 parent eedb979 commit aa3376c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_error_handling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_statement_with_error_trace(cratedb_service):
1414
connection.execute(sa.text("CREATE TABLE foo AS SELECT 1 AS _id"))
1515

1616
# Make sure both variants match, to validate it's actually an error trace.
17+
assert ex.match(re.escape('InvalidColumnNameException["_id" conflicts with system column]'))
1718
assert ex.match(
18-
re.escape('InvalidColumnNameException["_id" conflicts with system column pattern]')
19+
'io.crate.exceptions.InvalidColumnNameException: "_id" conflicts with system column'
1920
)
20-
assert ex.match('InvalidColumnNameException: "_id" conflicts with system column pattern')

0 commit comments

Comments
 (0)