def model_event(event, event_state, obj, **kwargs): # pylint: disable=unused-argument line_end = "\n" if event_state == events.states.FINISHED else "" six.print_("%s %s '%s': %s%s" % (utils.normalize_underscore_case(event), utils.normalize_camel_case(obj.__class__.__name__), obj.identifier, event_state, line_end))
def test_normalize_camel_case(original, expected): assert utils.normalize_camel_case(original) == expected