MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_nativeext_submanager

Method test_nativeext_submanager

test/ext/test_extendedattr.py:590–598  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

588 )
589
590 def test_nativeext_submanager(self):
591 class Mine(instrumentation.ClassManager):
592 pass
593
594 class A:
595 __sa_instrumentation_manager__ = Mine
596
597 register_class(A)
598 eq_(type(manager_of_class(A)), Mine)
599
600 @modifies_instrumentation_finders
601 def test_customfinder_greedy(self):

Callers

nothing calls this directly

Calls 3

register_classFunction · 0.90
eq_Function · 0.90
manager_of_classFunction · 0.85

Tested by

no test coverage detected