From 8c4d53b2186dd2323a6151429282e4bbbc24d9c9 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 16 Feb 2017 21:48:37 -0400 Subject: [PATCH] Remove unnecessary cache invalidation from test, it is done by the test's parent class. --- mayan/apps/common/tests/test_views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mayan/apps/common/tests/test_views.py b/mayan/apps/common/tests/test_views.py index 1b4175ff9f..7e9039b100 100644 --- a/mayan/apps/common/tests/test_views.py +++ b/mayan/apps/common/tests/test_views.py @@ -37,7 +37,6 @@ class GenericViewTestCase(BaseTestCase): self.role = Role.objects.create(label=TEST_ROLE_LABEL) self.group.user_set.add(self.user) self.role.groups.add(self.group) - Permission.invalidate_cache() def tearDown(self): from mayan.urls import urlpatterns