コード例 #1
0
ファイル: test_utils.py プロジェクト: sathish86/odin
 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
ファイル: test_utils.py プロジェクト: sathish86/odin
 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
ファイル: test_utils.py プロジェクト: ktp-forked-repos/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')