Exemple #1
0
 def tearDown(self):
     """ Simulates middleware teardown """
     global requests
     for r in requests:
         UserSession.disconnect(r)
Exemple #2
0
 def process_response(self, request, response):
     UserSession.disconnect(request)
     return response
Exemple #3
0
 def tearDown(self):
     """ Simulates middleware teardown """
     global requests
     for r in requests:
         UserSession.disconnect(r)