Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
9e751932
Verified
Commit
9e751932
authored
1 year ago
by
Erwan Rouchet
Browse files
Options
Downloads
Patches
Plain Diff
Print format parameters on SQL validation file creation
parent
40c1fe2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1952
Print format parameters on SQL validation file creation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arkindex/project/tests/__init__.py
+2
-1
2 additions, 1 deletion
arkindex/project/tests/__init__.py
with
2 additions
and
1 deletion
arkindex/project/tests/__init__.py
+
2
−
1
View file @
9e751932
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment