mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user