def project_sheet_is_tagged(step, someTags): project = get_project_translation_by_slug(world.project_slug, world.language_code) for tag in parse_tag_input(someTags): assert (tag in project.themes)
def project_sheet_is_tagged(step, someTags): project = get_project_translation_by_slug(world.project_slug, world.language_code) for tag in parse_tag_input(someTags): assert(tag in project.themes)
def project_sheet_check_status(step, status): project = get_project_translation_by_slug(world.project_slug, world.language_code).project assert project.status == status, \ "Project status should be '%s' but is '%s'" % (status, project.status)