Example #1
0
 def test_xml(self):
     self.assertEqual(camel_to_underscore("XML"), "xml")
Example #2
0
 def test_index_of(self):
     self.assertEqual(camel_to_underscore("indexOf"), "index_of")
Example #3
0
 def test_to_lowercase(self):
     self.assertEqual(camel_to_underscore("toLowerCase"), "to_lower_case")
Example #4
0
 def test_http_client(self):
     self.assertEqual(camel_to_underscore("HTTPClient"), "http_client")
Example #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")