Remove unnecessary cache invalidation from test, it is done by the test's

parent class.
This commit is contained in:
Roberto Rosario
2017-02-16 21:48:37 -04:00
parent 76f8f8f046
commit 8c4d53b218

View File

@@ -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