def setUp(): ''' setup ''' common.drop_table("single_row_txn_test") cmd = "./teracli create 'single_row_txn_test<txn=on>{lg0{cf0}}'" common.exe_and_check_res(cmd)
def setUp(): #clear env common.drop_table("crud_table") #set env cmd = "./teracli create 'crud_table{lg0{cf0}}'" common.exe_and_check_res(cmd) global table try: client = Client("", "pysdk") table = client.OpenTable("crud_table") except TeraSdkException as e: print(e.reason) nose.tools.assert_true(False)
def tearDown(): # clear env common.drop_table("single_row_txn_test") pass
def setUp(): common.drop_table("filter_table") common.runcmd("./teracli create 'filter_table{lg0{cf0,cf1}}'")