From 733cf6090560d62d6d98ca9ee87fca8a2d6d52ac Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Thu, 21 Jan 2010 05:28:21 +0000
Subject: [PATCH] Make sure we do not use cache.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31855 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/tests/runFunctionalTest.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/product/ERP5Type/tests/runFunctionalTest.py b/product/ERP5Type/tests/runFunctionalTest.py
index 48bbc155c8..3c011971ee 100755
--- a/product/ERP5Type/tests/runFunctionalTest.py
+++ b/product/ERP5Type/tests/runFunctionalTest.py
@@ -209,6 +209,14 @@ user_pref("security.warn_viewing_mixed.show_once", false);
 // Disable "do you want to remember this password?"
 user_pref("signon.rememberSignons", false);
 
+// Make sure we do not use cache
+user_pref("browser.cache.check_doc_frequency", 1);
+user_pref("network.http.use-cache", false);
+//user_pref("browser.cache.disk.capacity", 0);
+//user_pref("browser.cache.disk.enable", false);
+//user_pref("browser.cache.memory.enable", false);
+//user_pref("browser.cache.offline.enable", false);
+
 // this is required to upload files
 user_pref("capability.principal.codebase.p1.granted", "UniversalFileRead");
 user_pref("signed.applets.codebase_principal_support", true);
-- 
2.30.9