MCPcopy Create free account
hub / github.com/aws/aws-cli / test_unicode

Method test_unicode

tests/unit/customizations/s3/test_utils.py:131–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129
130class TestFindBucketKey(unittest.TestCase):
131 def test_unicode(self):
132 s3_path = '\u1234' + '/' + '\u5678'
133 bucket, key = find_bucket_key(s3_path)
134 self.assertEqual(bucket, '\u1234')
135 self.assertEqual(key, '\u5678')
136
137 def test_bucket(self):
138 bucket, key = find_bucket_key('bucket')

Callers

nothing calls this directly

Calls 1

find_bucket_keyFunction · 0.90

Tested by

no test coverage detected