from labelaudit.lib import string_util def test_snake_to_camel_on_underscore_string(): camelized = string_util.snake_to_camel('i_want_to_be_a_camel') assert camelized == 'iWantToBeACamel' def test_snake_to_camel_on_non_underscore_string(): input_string = 'no-underscores-here' assert string_util.snake_to_camel(input_string) == input_string