MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / assert_instrumented

Method assert_instrumented

test/orm/test_mapper.py:1480–1483  ·  view source on GitHub ↗
(cls, want)

Source from the content-addressed store, hash-verified

1478 eq_(have, want)
1479
1480 def assert_instrumented(cls, want):
1481 have = {p.key for p in class_mapper(cls).iterate_properties}
1482 want = set(want)
1483 eq_(have, want)
1484
1485 assert_props(
1486 HasDef,

Callers

nothing calls this directly

Calls 2

class_mapperFunction · 0.90
eq_Function · 0.90

Tested by

no test coverage detected