MCPcopy Index your code
hub / github.com/aws/aws-cli / test_upper_camel_case

Method test_upper_camel_case

tests/unit/botocore/test_utils.py:248–250  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

246
247class TestTransformName(unittest.TestCase):
248 def test_upper_camel_case(self):
249 self.assertEqual(xform_name('UpperCamelCase'), 'upper_camel_case')
250 self.assertEqual(xform_name('UpperCamelCase', '-'), 'upper-camel-case')
251
252 def test_lower_camel_case(self):
253 self.assertEqual(xform_name('lowerCamelCase'), 'lower_camel_case')

Callers

nothing calls this directly

Calls 1

xform_nameFunction · 0.90

Tested by

no test coverage detected