MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_odict_constructor

Method test_odict_constructor

test/base/test_utils.py:181–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

179 eq_(list(o.values()), [1, 2, 3, 4, 5, 6])
180
181 def test_odict_constructor(self):
182 o = util.OrderedDict(
183 [("name", "jbe"), ("fullname", "jonathan"), ("password", "")]
184 )
185 eq_(list(o.keys()), ["name", "fullname", "password"])
186
187 def test_odict_copy(self):
188 o = util.OrderedDict()

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
keysMethod · 0.45

Tested by

no test coverage detected