Skip to content
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

Merged
merged 10 commits into from
Nov 27, 2021

Conversation

PavelPancocha
Copy link
Collaborator

Description

Add setting CACHALOT_FINAL_SQL_CHECK + create & adapt tests

return u.user_permissions.values_list('codename', flat=True)

@with_final_sql_check
def test_many_to_many_when_sql_check(self):
Copy link
Collaborator Author

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
Copy link
Owner

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.

Copy link
Collaborator Author

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 :)

@PavelPancocha
Copy link
Collaborator Author

@dbartenstein all tests run for me OK.

@dbartenstein dbartenstein merged commit b1b9d37 into feature/order_by Nov 27, 2021
@dbartenstein dbartenstein deleted the feature/add_final_sql_check_setting branch November 27, 2021 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants