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 c892019 commit 76691d9Copy full SHA for 76691d9
simple_history/registry_tests/tests.py
@@ -6,7 +6,7 @@
6
from django.apps import apps
7
from django.contrib.auth import get_user_model
8
from django.core import management
9
-from django.test import TestCase, override_settings
+from django.test import TestCase, TransactionTestCase, override_settings
10
11
from simple_history import exceptions, register
12
@@ -215,7 +215,7 @@ def test_custom_attr(self):
215
216
217
@override_settings(MIGRATION_MODULES={})
218
-class TestMigrate(TestCase):
+class TestMigrate(TransactionTestCase):
219
def test_makemigration_command(self):
220
management.call_command(
221
"makemigrations", "migration_test_app", stdout=StringIO()
0 commit comments