diff --git a/tests/backends/oracle/test_operations.py b/tests/backends/oracle/test_operations.py index 7722744ecc..54fe73139d 100644 --- a/tests/backends/oracle/test_operations.py +++ b/tests/backends/oracle/test_operations.py @@ -2,12 +2,14 @@ import unittest from django.core.management.color import no_style from django.db import connection +from django.test import TransactionTestCase from ..models import Person, Tag @unittest.skipUnless(connection.vendor == 'oracle', 'Oracle tests') -class OperationsTests(unittest.TestCase): +class OperationsTests(TransactionTestCase): + available_apps = ['backends'] def test_sequence_name_truncation(self): seq_name = connection.ops._get_no_autofield_sequence_name('schema_authorwithevenlongee869')