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 12586)
+++ 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
 
 
