def forwards(self, orm): "Write your forwards methods here." for key in redis.keys("user_pins*"): redis.delete(key)
def after_setUp(self): self.prefix = "test_notification:" for key in redis.keys(self.prefix + "*"): redis.delete(key) self.q = KeyedSet(self.prefix)