Esempio n. 1
0
 def tearDown(self):
     while revision.is_active():
         revision.end()
Esempio n. 2
0
 def process_response(self, request, response):
     """Closes the revision."""
     while revision.is_active():
         revision.end()
     return response
Esempio n. 3
0
 def process_response(self, request, response):
     """Closes the revision."""
     if revision.is_active():
         revision.end()
     return response