Fix failing user management test mixin import

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-10-28 03:35:16 -04:00
parent c46b720e08
commit 6e1236e8a0

View File

@@ -16,8 +16,8 @@ from ..events import (
) )
from .mixins import ( from .mixins import (
GroupAPITestMixin, GroupTestMixin, GroupViewTestMixin, UserAPITestMixin, GroupAPIViewTestMixin, GroupTestMixin, GroupViewTestMixin,
UserViewTestMixin UserAPIViewTestMixin, UserViewTestMixin
) )
@@ -56,7 +56,8 @@ class GroupEventsViewTestCase(
class GroupEventsAPITestCase( class GroupEventsAPITestCase(
GroupAPITestMixin, GroupTestMixin, GroupViewTestMixin, BaseAPITestCase GroupAPIViewTestMixin, GroupTestMixin, GroupViewTestMixin,
BaseAPITestCase
): ):
def test_group_create_event_from_api_view(self): def test_group_create_event_from_api_view(self):
self.grant_permission( self.grant_permission(
@@ -135,7 +136,7 @@ class UserEventsTestCase(GenericViewTestCase):
class UserEventsViewTestCase( class UserEventsViewTestCase(
UserAPITestMixin, UserViewTestMixin, GenericViewTestCase UserAPIViewTestMixin, UserViewTestMixin, GenericViewTestCase
): ):
def test_user_create_event_from_view(self): def test_user_create_event_from_view(self):
self.grant_permission( self.grant_permission(
@@ -171,7 +172,7 @@ class UserEventsViewTestCase(
class UserEventsAPITestCase( class UserEventsAPITestCase(
UserAPITestMixin, UserViewTestMixin, BaseAPITestCase UserAPIViewTestMixin, UserViewTestMixin, BaseAPITestCase
): ):
def test_user_create_event_from_api_view(self): def test_user_create_event_from_api_view(self):
self.grant_permission( self.grant_permission(