MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_any

Method test_any

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

Source from the content-addressed store, hash-verified

261 )
262
263 def test_any(self):
264 r = User.addresses.any(Address.email == "x")
265 ser = serializer.dumps(r, -1)
266 x = serializer.loads(ser, users.metadata)
267 eq_(str(r), str(x))
268
269 def test_unicode(self):
270 m = MetaData()

Callers

nothing calls this directly

Calls 4

eq_Function · 0.90
anyMethod · 0.45
dumpsMethod · 0.45
loadsMethod · 0.45

Tested by

no test coverage detected