Commit 46de82f4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! testERP5WebWithDms: test Cache-Control header is overridden by Caching Policy Manager.

parent d1976eba
...@@ -684,6 +684,7 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -684,6 +684,7 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional):
policy.getStaleIfErrorSecs())) policy.getStaleIfErrorSecs()))
finally: finally:
self.portal.caching_policy_manager._policies['unauthenticated no language'] = policy_orig self.portal.caching_policy_manager._policies['unauthenticated no language'] = policy_orig
transaction.commit()
def test_PreviewOOoDocumentWithEmbeddedImage(self): def test_PreviewOOoDocumentWithEmbeddedImage(self):
"""Tests html preview of an OOo document with images as extensible content. """Tests html preview of an OOo document with images as extensible content.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment