Fix test running with new apps stuff/migrate actually running migrations

This commit is contained in:
Andrew Godwin 2013-06-19 15:36:02 +01:00
parent 9daf81b94e
commit 2ae8a8a77d
8 changed files with 33 additions and 12 deletions

View file

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