We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2208722 commit c66b967Copy full SHA for c66b967
tests/test_db_debug.py
@@ -28,12 +28,13 @@ def test_fail_with_db_queries():
28
])
29
30
from pytest_django_test.db_helpers import _settings
31
- if _settings["ENGINE"] == "django.db.backends.sqlite3":
32
- result.stdout.fnmatch_lines([
33
- "*- Captured log teardown -*",
34
- "*PRAGMA foreign_key_check*",
35
- ])
36
- else:
+ # if _settings["ENGINE"] == "django.db.backends.sqlite3":
+ # result.stdout.fnmatch_lines([
+ # "*- Captured log teardown -*",
+ # "*PRAGMA foreign_key_check*",
+ # ])
+ # else:
37
+ if _settings["ENGINE"] == "django.db.backends.postgresql_psycopg2":
38
result.stdout.fnmatch_lines([
39
"*- Captured log teardown -*",
40
"*SET CONSTRAINTS*",
0 commit comments