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)
Beispiel #3
0
    def after_setUp(self):
        self.prefix = "test_notification:"
        for key in redis.keys(self.prefix + "*"):
            redis.delete(key)

        self.q = KeyedSet(self.prefix)