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/get_or_create | |
parent | 4daf570b98cc840e1a154f3876bc7463924cb9ae (diff) | |
download | django-c6e6d4eeb776c473567362405cdbc6a0328eb194.tar.gz |
Defined available_apps in relevant tests.
Fixed #20483.
Diffstat (limited to 'tests/get_or_create')
-rw-r--r-- | tests/get_or_create/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/get_or_create/tests.py b/tests/get_or_create/tests.py index 36c248b169..847a6dec01 100644 --- a/tests/get_or_create/tests.py +++ b/tests/get_or_create/tests.py @@ -94,6 +94,8 @@ class GetOrCreateTests(TestCase): class GetOrCreateTransactionTests(TransactionTestCase): + available_apps = ['get_or_create'] + def test_get_or_create_integrityerror(self): # Regression test for #15117. Requires a TransactionTestCase on # databases that delay integrity checks until the end of transactions, |