Exemplo n.º 1
0
 def test_it_returns_flag_service(self, pyramid_request):
     svc = flag.flag_service_factory(None, pyramid_request)
     assert isinstance(svc, flag.FlagService)
Exemplo n.º 2
0
 def test_it_provides_request_db_as_session(self, pyramid_request):
     svc = flag.flag_service_factory(None, pyramid_request)
     assert svc.session == pyramid_request.db
Exemplo n.º 3
0
Arquivo: flag_test.py Projeto: 0b01/h
 def test_it_provides_request_db_as_session(self, pyramid_request):
     svc = flag.flag_service_factory(None, pyramid_request)
     assert svc.session == pyramid_request.db
Exemplo n.º 4
0
 def test_it_returns_flag_service(self, pyramid_request):
     svc = flag.flag_service_factory(None, pyramid_request)
     assert isinstance(svc, flag.FlagService)