MCPcopy Create free account
hub / github.com/boto/boto3 / TestPythonTypeName

Class TestPythonTypeName

tests/unit/test_docs.py:56–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56class TestPythonTypeName(BaseTestCase):
57 def test_structure(self):
58 self.assertEqual('dict', py_type_name('structure'))
59
60 def test_list(self):
61 self.assertEqual('list', py_type_name('list'))
62
63 def test_map(self):
64 self.assertEqual('dict', py_type_name('map'))
65
66 def test_string(self):
67 self.assertEqual('string', py_type_name('string'))
68
69 def test_character(self):
70 self.assertEqual('string', py_type_name('character'))
71
72 def test_blob(self):
73 self.assertEqual('bytes', py_type_name('blob'))
74
75 def test_timestamp(self):
76 self.assertEqual('datetime', py_type_name('timestamp'))
77
78 def test_integer(self):
79 self.assertEqual('integer', py_type_name('integer'))
80
81 def test_long(self):
82 self.assertEqual('integer', py_type_name('long'))
83
84 def test_float(self):
85 self.assertEqual('float', py_type_name('float'))
86
87 def test_double(self):
88 self.assertEqual('float', py_type_name('double'))
89
90
91class TestDocumentService(unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected