MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_pickle_orderedprops

Method test_pickle_orderedprops

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

Source from the content-addressed store, hash-verified

3478 eq_(props.keys(), p.keys())
3479
3480 def test_pickle_orderedprops(self):
3481 data = {"hello": "bla"}
3482 props = util.OrderedProperties()
3483 props.update(data)
3484
3485 for loader, dumper in picklers():
3486 s = dumper(props)
3487 p = loader(s)
3488
3489 eq_(props._data, p._data)
3490 eq_(props.keys(), p.keys())
3491
3492
3493class QuotedTokenParserTest(fixtures.TestBase):

Callers

nothing calls this directly

Calls 5

picklersFunction · 0.90
eq_Function · 0.90
loaderFunction · 0.85
updateMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected