MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _assert_cache_key

Method _assert_cache_key

test/ext/test_baked.py:40–41  ·  view source on GitHub ↗
(self, key, elements)

Source from the content-addressed store, hash-verified

38 cls.mapper_registry.map_imperatively(User, cls.tables.users)
39
40 def _assert_cache_key(self, key, elements):
41 eq_(key, tuple(elem.__code__ for elem in elements))
42
43 def test_initial_key(self):
44 User = self.classes.User

Callers 5

test_initial_keyMethod · 0.95
test_inplace_addMethod · 0.95
test_chained_addMethod · 0.95

Calls 1

eq_Function · 0.90

Tested by

no test coverage detected