Index: /main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_async.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_async.py	(revision 12594)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_async.py	(revision 12595)
@@ -3,5 +3,4 @@
 import tempfile
 import transaction
-from contextlib import contextmanager
 from zc.async.testing import wait_for_result
 from zope.component import getUtility
@@ -12,5 +11,7 @@
 from waeup.kofa.async import AsyncJob, get_job_id
 from waeup.kofa.interfaces import IJobManager, IKofaUtils
-from waeup.kofa.testing import FunctionalTestCase, FunctionalLayer
+from waeup.kofa.testing import (
+    FunctionalTestCase, FunctionalLayer, expensive_actions,
+    )
 from waeup.kofa.tests.test_async import FunctionalAsyncTestCase
 
@@ -22,19 +23,4 @@
 def dummy_func():
     return 42
-
-
-@contextmanager
-def expensive_actions():
-    """A contextmanager to work with a modified `expensive_acrtions_allowed()`
-
-    This method is part of local IKofaUtils.
-    """
-    utils = getUtility(IKofaUtils)
-    old_func = utils.expensive_actions_allowed
-    try:
-        yield utils
-    finally:
-        # restore function after use
-        utils.expensive_actions_allowed = old_func
 
 
Index: /main/waeup.kofa/trunk/src/waeup/kofa/testing.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/testing.py	(revision 12594)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/testing.py	(revision 12595)
@@ -29,11 +29,13 @@
 import zope.component
 import waeup.kofa
+from contextlib import contextmanager
 from zc.async.interfaces import COMPLETED
 from zope.app.testing.functional import (
     ZCMLLayer, FunctionalTestSetup, getRootFolder, sync, FunctionalTestCase)
-from zope.component import getGlobalSiteManager, queryUtility
+from zope.component import getGlobalSiteManager, queryUtility, getUtility
 from zope.security.testing import addCheckerPublic
 from zope.testing import renormalizing
 from zope.testing.cleanup import cleanUp
+from waeup.kofa.interfaces import IKofaUtils
 
 ftesting_zcml = os.path.join(
@@ -472,2 +474,17 @@
             del self._jobs[job_id]
         return
+
+
+@contextmanager
+def expensive_actions():
+    """A contextmanager to work with a modified `expensive_acrtions_allowed()`
+
+    This method is part of local IKofaUtils.
+    """
+    utils = getUtility(IKofaUtils)
+    old_func = utils.expensive_actions_allowed
+    try:
+        yield utils
+    finally:
+        # restore function after use
+        utils.expensive_actions_allowed = old_func
