def run_all_tests_on_instance(self, instance): self.kvs = instance KeyValueBase.register(instance.__class__) self.test_implements_abstract() self.test_set_get_delete() self.test_incr()
def setUp(self): self.kvs = KeyValueStore() KeyValueBase.register(self.kvs.__class__) self.prefix = "smpp_test_%s" % uuid.uuid4()