MCPcopy Create free account
hub / github.com/celery/celery / __getattr__

Method __getattr__

t/unit/conftest.py:551–553  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

549 class MockModule(types.ModuleType):
550
551 def __getattr__(self, attr):
552 setattr(self, attr, Mock())
553 return types.ModuleType.__getattribute__(self, attr)
554
555 mods = []
556 for name in names:

Callers

nothing calls this directly

Calls 1

__getattribute__Method · 0.80

Tested by

no test coverage detected