iro/tests/viewinterface.py
branchdevel
changeset 241 546316b0b09c
parent 231 3929338fd17f
child 247 62322feaeda4
--- a/iro/tests/viewinterface.py	Wed Mar 21 19:43:36 2012 +0100
+++ b/iro/tests/viewinterface.py	Fri Mar 23 16:16:56 2012 +0100
@@ -14,10 +14,7 @@
 import iro.error as IroError
 
 from ..test_helpers.dbtestcase import DBTestCase
-
-class DummyPool():
-    def run(self, f,*a,**k):
-        return f(*a,**k)
+from ..test_helpers.utils import DummyPool
 
 class ViewInterfaceTest(DBTestCase):
     """tests for the xmlrpc interface"""