mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Switched TestCase to SimpleTestCase where possible in Django's tests.
This commit is contained in:
parent
f091ea3515
commit
193c109327
37 changed files with 130 additions and 134 deletions
|
@ -1,8 +1,8 @@
|
|||
from django.db import connection
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase
|
||||
|
||||
|
||||
class TestDatabaseFeatures(TestCase):
|
||||
class TestDatabaseFeatures(SimpleTestCase):
|
||||
|
||||
def test_nonexistent_feature(self):
|
||||
self.assertFalse(hasattr(connection.features, 'nonexistent'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue