def setUp(self): if not client: raise SkipTest() super(TestListingHandlers, self).setUp() create_basic_categories(self) create_and_place_a_publishable(self) client.flushdb()
def tearDown(self): super(RedisTestCase, self).tearDown() client.flushdb()
def tearDown(self): " Flush cache and redis for each unit test. " super(CommentViewTestCase, self).tearDown() template_loader.templates = {} cache.clear() client.flushdb()
def setUp(self): client.flushdb() super(TestTemplateTags, self).setUp() create_basic_categories(self) create_and_place_a_publishable(self)