mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fix test running with new apps stuff/migrate actually running migrations
This commit is contained in:
parent
9daf81b94e
commit
2ae8a8a77d
8 changed files with 33 additions and 12 deletions
|
@ -1,9 +1,9 @@
|
|||
from django.test import TransactionTestCase
|
||||
from django.test import TestCase
|
||||
from django.db import connection, models, migrations
|
||||
from django.db.migrations.state import ProjectState
|
||||
|
||||
|
||||
class OperationTests(TransactionTestCase):
|
||||
class OperationTests(TestCase):
|
||||
"""
|
||||
Tests running the operations and making sure they do what they say they do.
|
||||
Each test looks at their state changing, and then their database operation -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue