Exemple #1
0
 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'))
Exemple #2
0
 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'))
Exemple #3
0
 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')
Exemple #4
0
 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')