We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 674570e + af44edb commit df927edCopy full SHA for df927ed
tests/utils.py
@@ -4,7 +4,7 @@
4
5
from django.db import connection
6
from django.db.migrations.executor import MigrationExecutor
7
-from django.test import TestCase
+from django.test import TestCase, TransactionTestCase
8
from rest_framework.test import APIClient
9
from rest_framework_simplejwt.compat import reverse
10
from rest_framework_simplejwt.settings import api_settings
@@ -82,7 +82,7 @@ def override_api_settings(**settings):
82
pass
83
84
85
-class MigrationTestCase(TestCase):
+class MigrationTestCase(TransactionTestCase):
86
migrate_from = None
87
migrate_to = None
88
0 commit comments