diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py
index aaee09a049c72b7b5c2afd9c5dd66bd3905d88b6..d7edae25731f397b184cf9f72c62fa8849bd2872 100644
--- a/product/ERP5Type/tests/ERP5TypeTestCase.py
+++ b/product/ERP5Type/tests/ERP5TypeTestCase.py
@@ -48,7 +48,15 @@ ZopeTestCase.installProduct('MailHost')
 ZopeTestCase.installProduct('PageTemplates')
 ZopeTestCase.installProduct('PythonScripts')
 ZopeTestCase.installProduct('ExternalMethod')
-ZopeTestCase.installProduct('iHotfix')
+try:
+  ZopeTestCase.installProduct('iHotfix')
+  from Products import iHotfix
+  from StringIO import StringIO
+  # revert monkey patchs from iHotfix
+  iHotfix.get_request = get_request
+  iHotfix.iHotfixStringIO = StringIO
+except ImportError:
+  pass
 ZopeTestCase.installProduct('Localizer')
 ZopeTestCase.installProduct('TimerService')