def test_dummy_init(): di = DummyInit(ServiceContainer(factories=[])) assert isinstance(di.container, ServiceContainer) assert 'initialized' == di.name
def test_dummy_container(): sc = ServiceContainer(factories=[]) dc = DummyContainer(container=sc) assert isinstance(dc.container, ServiceContainer)