def step_impl(context, entry_name, tag_name): ed = get_entry_by_source('test', entry_name, system=True) assert_that(tag_name, not_(is_in(ed.tags)))
def step_impl(context, tag_name, entry_name): ed = get_entry_by_source('test', entry_name, system=True) ed.tags.remove(tag_name) update_entry_by_id(ed.id, ed, system=True)