diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-04 08:09:29 +0200 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-10 11:30:01 +0200 |
commit | c6e6d4eeb776c473567362405cdbc6a0328eb194 (patch) | |
tree | c55be28ca7d228717c286d6b14cd27fda89a1d9a /tests/delete_regress | |
parent | 4daf570b98cc840e1a154f3876bc7463924cb9ae (diff) | |
download | django-c6e6d4eeb776c473567362405cdbc6a0328eb194.tar.gz |
Defined available_apps in relevant tests.
Fixed #20483.
Diffstat (limited to 'tests/delete_regress')
-rw-r--r-- | tests/delete_regress/tests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/delete_regress/tests.py b/tests/delete_regress/tests.py index e88c95e229..a4908b2121 100644 --- a/tests/delete_regress/tests.py +++ b/tests/delete_regress/tests.py @@ -16,6 +16,9 @@ from .models import (Book, Award, AwardNote, Person, Child, Toy, PlayedWith, # Can't run this test under SQLite, because you can't # get two connections to an in-memory database. class DeleteLockingTest(TransactionTestCase): + + available_apps = ['delete_regress'] + def setUp(self): # Create a second connection to the default database new_connections = ConnectionHandler(settings.DATABASES) @@ -107,6 +110,9 @@ class DeleteCascadeTests(TestCase): class DeleteCascadeTransactionTests(TransactionTestCase): + + available_apps = ['delete_regress'] + def test_inheritance(self): """ Auto-created many-to-many through tables referencing a parent model are |