def clean_task_tables(self): clean_dynamo_table(self.table_name, (self.HASH_KEY[0],))
def tearDown(self): clean_dynamo_table(self.table_name, self.KEYS)
def tearDown(self): clean_dynamo_table('autotest_config_component', keys=('env', 'config_name'))
def setUpClass(cls): clean_dynamo_table()
def clean_task_tables(self): clean_dynamo_table(self.table_name, (self.HASH_KEY[0], )) clean_dynamo_table(self.completed_tasks_table, ('task_id', )) clean_dynamo_table(self.retry_tasks_table, ('labourer_id', 'task_id'))