def test_missing_store(self): """ Tests that we get an exception when we try to get a non-existent store. """ try: s = StoreClient('does-not-exist', [('localhost', 6666)]) except VoldemortException: self.assertTrue(True) return self.assertTrue(False)
def _reinit_json_client(self): s = StoreClient('json_test', [('localhost', 6666)]) for k in [1, 2, 3]: s.delete(k) return s
def _reinit_raw_client(self): s = StoreClient('test', [('localhost', 6666)]) for k in ['a', 'b', 'c']: s.delete(k) return s