-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/add final sql check setting #1
Feature/add final sql check setting #1
Conversation
return u.user_permissions.values_list('codename', flat=True) | ||
|
||
@with_final_sql_check | ||
def test_many_to_many_when_sql_check(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dbartenstein please confirm, this is how it should have looked :)
@@ -0,0 +1,44 @@ | |||
import logging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Fasther: wouldn’t name file tests_decorators.py
as it suggests that it contains tests. Better go with decorators.py
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dbartenstein I did it on purpose - all tests are in files without "tests" but the utils live in "tests_utils" where are no tests :)
@dbartenstein all tests run for me OK. |
Description
Add setting
CACHALOT_FINAL_SQL_CHECK
+ create & adapt tests