def svc(db_session, pyramid_request): pyramid_request.db = db_session return group_scope_factory({}, pyramid_request)
def svc(db_session, pyramid_request): pyramid_request.db = db_session return group_scope_factory({}, pyramid_request)
def test_it_returns_group_scope_service_instance(self, pyramid_request): svc = group_scope_factory(None, pyramid_request) assert isinstance(svc, GroupScopeService)
def test_it_returns_group_scope_service_instance(self, pyramid_request): svc = group_scope_factory(None, pyramid_request) assert isinstance(svc, GroupScopeService)