Пример #1
0
def svc(db_session, pyramid_request):
    pyramid_request.db = db_session
    return group_scope_factory({}, pyramid_request)
Пример #2
0
def svc(db_session, pyramid_request):
    pyramid_request.db = db_session
    return group_scope_factory({}, pyramid_request)
Пример #3
0
    def test_it_returns_group_scope_service_instance(self, pyramid_request):
        svc = group_scope_factory(None, pyramid_request)

        assert isinstance(svc, GroupScopeService)
Пример #4
0
    def test_it_returns_group_scope_service_instance(self, pyramid_request):
        svc = group_scope_factory(None, pyramid_request)

        assert isinstance(svc, GroupScopeService)