def identifier(name): identifier = pydentifier.lower_underscore(name) if identifier in RUST_KEYWORDS: identifier = "{}_".format(identifier) return identifier
def get_step_handler_function_name(cls, step): return pydentifier.lower_underscore(step.title, prefix=step.clause)
def get_test_case_function_name(cls, scenario): return pydentifier.lower_underscore(scenario.title, prefix='test')