Update request_context

This commit is contained in:
Kfir Hadas
2017-08-03 00:39:43 +03:00
parent 0f2a3c4555
commit fc226ed5f6
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ class TestTemplateUtils(NyaaTestCase):
pass
def test_static_cachebuster(self):
with self.request_context:
with self.request_context():
# Save this value in order to restore it in the end.
orig_debug = self.app.debug