MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_mapper

Method test_mapper

test/ext/test_serializer.py:123–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 )
122
123 def test_mapper(self):
124 user_mapper = class_mapper(User)
125 assert (
126 serializer.loads(serializer.dumps(user_mapper, -1), None, None)
127 is user_mapper
128 )
129
130 def test_attribute(self):
131 assert (

Callers

nothing calls this directly

Calls 3

class_mapperFunction · 0.90
loadsMethod · 0.45
dumpsMethod · 0.45

Tested by

no test coverage detected