Make generic organization test class inherit from GenericViewTestCase.
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
from __future__ import absolute_import, unicode_literals
|
from __future__ import absolute_import, unicode_literals
|
||||||
|
|
||||||
from documents.tests.test_views import GenericDocumentViewTestCase
|
from common.tests.test_views import GenericViewTestCase
|
||||||
|
|
||||||
from ..models import Organization
|
from ..models import Organization
|
||||||
|
|
||||||
|
|
||||||
class OrganizationViewTestCase(GenericDocumentViewTestCase):
|
class OrganizationViewTestCase(GenericViewTestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(OrganizationViewTestCase, self).setUp()
|
super(OrganizationViewTestCase, self).setUp()
|
||||||
# Create two organizations
|
# Create two organizations
|
||||||
|
|||||||
Reference in New Issue
Block a user