We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f600d3 commit 19afee7Copy full SHA for 19afee7
1 file changed
tests/python/tests/test_error_messages.py
@@ -54,10 +54,7 @@ def test_encrypted_column_with_no_configuration():
54
55
sql = "INSERT INTO unconfigured (id, encrypted_unconfigured) VALUES (%s, %s)"
56
57
- # This is EQL catching the error and returning it. Details are in docs/errors.md
58
- # When mapping errors are enabled, (enable_mapping_errors or CS_DEVELOPMENT__ENABLE_MAPPING_ERRORS)
59
- # Proxy will return an error that says "Column X in table Y has no Encrypt configuration"
60
- with pytest.raises(psycopg.Error, match=r"Encrypted column missing \w+ \(\w+\) field"):
+ with pytest.raises(psycopg.Error, match=r"Column 'encrypted_unconfigured' in table 'unconfigured' has no Encrypt configuration."):
61
cursor.execute(sql, [id, val])
62
63
0 commit comments