Example #1
0
def svc(db_session, pyramid_request):
    pyramid_request.db = db_session
    return group_scope_factory({}, pyramid_request)
Example #2
0
def svc(db_session, pyramid_request):
    pyramid_request.db = db_session
    return group_scope_factory({}, pyramid_request)
Example #3
0
    def test_it_returns_group_scope_service_instance(self, pyramid_request):
        svc = group_scope_factory(None, pyramid_request)

        assert isinstance(svc, GroupScopeService)
Example #4
0
    def test_it_returns_group_scope_service_instance(self, pyramid_request):
        svc = group_scope_factory(None, pyramid_request)

        assert isinstance(svc, GroupScopeService)