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 c66b967 commit c59d21aCopy full SHA for c59d21a
tests/test_db_debug.py
@@ -27,19 +27,6 @@ def test_fail_with_db_queries():
27
"*SELECT COUNT*",
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:
37
- if _settings["ENGINE"] == "django.db.backends.postgresql_psycopg2":
38
- result.stdout.fnmatch_lines([
39
- "*- Captured log teardown -*",
40
- "*SET CONSTRAINTS*",
41
- ])
42
-
43
44
def test_debug_sql_with_django_setup(django_testdir):
45
django_testdir.create_test_module(
0 commit comments