management.tests.test_urlsΒΆ
Tests for settings app URL configuration.
ClassesΒΆ
Similar to TransactionTestCase, but use transaction.atomic() to achieve |
Module ContentsΒΆ
- class management.tests.test_urls.SettingsUrlsTestCase(methodName='runTest')[source]ΒΆ
Bases:
django.test.TestCaseSimilar to TransactionTestCase, but use transaction.atomic() to achieve test isolation.
In most situations, TestCase should be preferred to TransactionTestCase as it allows faster execution. However, there are some situations where using TransactionTestCase might be necessary (e.g. testing some transactional behavior).
On database backends with no transaction support, TestCase behaves as TransactionTestCase.