def test_create_error_via_put(self):
     table = Table(self.client, table_name)
     ts_obj = table.new([])
     with self.assertRaises(RiakError) as cm:
         ts_obj.store()
     logging.debug("[test_timeseries_ttb] saw exception: {}".format(
         cm.exception))
 def test_create_error_via_put(self):
     table = Table(self.client, table_name)
     ts_obj = table.new([])
     with self.assertRaises(RiakError) as cm:
         ts_obj.store()
     logging.debug(
             "[test_timeseries_ttb] saw exception: {}"
             .format(cm.exception))
 def test_create_error_via_put(self):
     table = Table(self.client, table_name)
     ts_obj = table.new([])
     with self.assertRaises(RiakError):
         ts_obj.store()
예제 #4
0
 def test_create_error_via_put(self):
     table = Table(self.client, table_name)
     ts_obj = table.new([])
     with self.assertRaises(RiakError):
         ts_obj.store()