Skip to content
Snippets Groups Projects
Verified Commit 9e751932 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Print format parameters on SQL validation file creation

parent 40c1fe2a
No related branches found
No related tags found
1 merge request!1952Print format parameters on SQL validation file creation
......@@ -74,7 +74,8 @@ class _AssertExactQueriesContext(CaptureQueriesContext):
else:
raise AssertionError(
f'Could not assert on SQL queries; the file at {self.path} did not exist. '
'A file has been created with the current SQL queries, please check it manually.'
'A file has been created with the current SQL queries, please check it manually.\n'
f'Parameters: {self.params!r}'
)
# Ignore newlines in the expected SQL, otherwise the reformatting might have duplicate line breaks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment