Fix the permissions app tests

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-29 01:09:27 -04:00
parent cfe623e093
commit d2ab2ec91f

View File

@@ -97,7 +97,7 @@ class RoleViewsTestCase(RoleTestMixin, RoleViewTestMixin, GenericViewTestCase):
self._create_test_role()
response = self._request_test_role_permissions_view()
self.assertEqual(response.status_code, 403)
self.assertEqual(response.status_code, 404)
def test_role_permissions_view_with_access(self):
self._create_test_role()
@@ -112,7 +112,7 @@ class RoleViewsTestCase(RoleTestMixin, RoleViewTestMixin, GenericViewTestCase):
self._create_test_role()
response = self._request_test_role_groups_view()
self.assertEqual(response.status_code, 403)
self.assertEqual(response.status_code, 404)
def test_role_groups_view_with_access(self):
self._create_test_role()