Ejemplo n.º 1
0
 def test_auth(self):
     global session
     if session:
         return
     with app.app_context():
         with make_login() as sess:
             session = sess
             print 'test_auth', sess
Ejemplo n.º 2
0
 def test_mr_auth(self):
     global risar_session
     if risar_session:
         return
     with app.app_context():
         with make_login() as sess:
             risar_session = sess
             print 'test_risar_auth', sess