def test2(): dc = datachecker() db_helper = DBHelper() old_table = "refined_info" new_table = "extracted_full_info" # db_helper.recr_table(old_table,DB_1,'info_template',DB_1) entrys = dc.diff_tables(table_old=old_table, table_new=new_table, db_old=DB_1, db_new=DB_1) # dc.rm_infoid(entrys,'author') dc.rm_field(entrys, "author") datastore.update_info_table(entrys, table=old_table, database=DB_1)
def test_group_id(self): table_new = 'samples_2' table_old = 'info' entrys = self.dc.diff_tables(table_old,table_new,DB_test,DB_test) rm_field(INFO_ID,entrys) datastore.update_info_table(entrys,table_old,DB_test)