Skip to content

Commit 1f7ef23

Browse files
committed
fixup! fixup! fixup! fixup! Add django_debug_sql ini option
1 parent 6ab5a5c commit 1f7ef23

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/test_db_debug.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,6 @@ def test_fail_with_db_queries():
2727
"*SELECT COUNT*",
2828
])
2929

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-
4330

4431
def test_debug_sql_with_django_setup(django_testdir):
4532
django_testdir.create_test_module(

0 commit comments

Comments
 (0)