def test_camel_to_lower_separated(self): self.assertEqual("this_is_an_example", utils.camel_to_lower_underscore('thisIsAnExample')) self.assertEqual("this_is_an_example", utils.camel_to_lower_underscore('ThisIsAnExample')) self.assertEqual("this-is-a-test", utils.camel_to_lower_dash('thisIsATest'))
def test_camel_to_lower_separated(self): assert "this_is_an_example" == utils.camel_to_lower_underscore('thisIsAnExample') assert "this_is_an_example" == utils.camel_to_lower_underscore('ThisIsAnExample') assert "this-is-a-test" == utils.camel_to_lower_dash('thisIsATest')