def test_convert_notype(self): rename_checklist_type.convert_checklist('nonexistent', 'random') cb = partial(self.verify_database_state, self.checklist_data) db.execute_cb(db.push_checklist.select(), cb)
def test_convert_cleanup_type(self): rename_checklist_type.convert_checklist('search', 'not_search') cb = partial(self.verify_type_rename, 'search', 'not_search') db.execute_cb(db.push_checklist.select(), cb)