Example #1
0
 def test_it_returns_service(self, pyramid_request):
     svc = annotation_moderation_service_factory(None, pyramid_request)
     assert isinstance(svc, AnnotationModerationService)
 def test_it_returns_service(self, pyramid_request):
     svc = annotation_moderation_service_factory(None, pyramid_request)
     assert isinstance(svc, AnnotationModerationService)
Example #3
0
 def test_it_provides_request_db_as_session(self, pyramid_request):
     svc = annotation_moderation_service_factory(None, pyramid_request)
     assert svc.session == pyramid_request.db
 def test_it_provides_request_db_as_session(self, pyramid_request):
     svc = annotation_moderation_service_factory(None, pyramid_request)
     assert svc.session == pyramid_request.db