MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_nativeext_interfaceexact

Method test_nativeext_interfaceexact

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

Source from the content-addressed store, hash-verified

576 eq_(type(manager_of_class(A)), instrumentation.ClassManager)
577
578 def test_nativeext_interfaceexact(self):
579 class A:
580 __sa_instrumentation_manager__ = (
581 instrumentation.InstrumentationManager
582 )
583
584 register_class(A)
585 ne_(
586 type(attributes.opt_manager_of_class(A)),
587 instrumentation.ClassManager,
588 )
589
590 def test_nativeext_submanager(self):
591 class Mine(instrumentation.ClassManager):

Callers

nothing calls this directly

Calls 3

register_classFunction · 0.90
ne_Function · 0.90
opt_manager_of_classMethod · 0.80

Tested by

no test coverage detected