def tearDown(self): from mayan.urls import urlpatterns self.client.logout() if self.has_test_view: urlpatterns.pop(0) super(GenericViewTestCase, self).tearDown()
def tearDown(self): from mayan.urls import urlpatterns self.client.logout() if self.has_test_view: urlpatterns.pop(0)