示例#1
0
 def test_xml(self):
     self.assertEqual(camel_to_underscore("XML"), "xml")
示例#2
0
 def test_index_of(self):
     self.assertEqual(camel_to_underscore("indexOf"), "index_of")
示例#3
0
 def test_to_lowercase(self):
     self.assertEqual(camel_to_underscore("toLowerCase"), "to_lower_case")
示例#4
0
 def test_http_client(self):
     self.assertEqual(camel_to_underscore("HTTPClient"), "http_client")
示例#5
0
 def test_xml_http_request(self):
     self.assertEqual(
         camel_to_underscore("XMLHttpRequest"),
         "xml_http_request"
     )
 def test_xml(self):
     self.assertEqual(camel_to_underscore("XML"), "xml")
 def test_to_lowercase(self):
     self.assertEqual(camel_to_underscore("toLowerCase"), "to_lower_case")
 def test_index_of(self):
     self.assertEqual(camel_to_underscore("indexOf"), "index_of")
 def test_xml_http_request(self):
     self.assertEqual(
         camel_to_underscore("XMLHttpRequest"),
         "xml_http_request"
     )
 def test_http_client(self):
     self.assertEqual(camel_to_underscore("HTTPClient"), "http_client")