MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / test_values

Method test_values

tests/unit/test_orderedmap.py:61–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 self.assertListEqual(list(om.keys()), keys)
60
61 def test_values(self):
62 keys = ['first', 'middle', 'last']
63 values = list(range(len(keys)))
64 om = OrderedMap(zip(keys, values))
65
66 self.assertListEqual(list(om.values()), values)
67
68 def test_items(self):
69 keys = ['first', 'middle', 'last']

Callers

nothing calls this directly

Calls 2

OrderedMapClass · 0.90
valuesMethod · 0.45

Tested by

no test coverage detected