예제 #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'))
예제 #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'))
예제 #3
0
파일: test_utils.py 프로젝트: thedrow/odin
 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')
예제 #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')