mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
parent
e2b77acedd
commit
be67400b47
93 changed files with 362 additions and 340 deletions
|
@ -1,5 +1,5 @@
|
|||
from django.contrib import messages
|
||||
from django.test import RequestFactory, TestCase
|
||||
from django.test import RequestFactory, SimpleTestCase
|
||||
|
||||
|
||||
class DummyStorage(object):
|
||||
|
@ -14,7 +14,7 @@ class DummyStorage(object):
|
|||
self.store.append(message)
|
||||
|
||||
|
||||
class ApiTest(TestCase):
|
||||
class ApiTest(SimpleTestCase):
|
||||
def setUp(self):
|
||||
self.rf = RequestFactory()
|
||||
self.request = self.rf.request()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue