iro/tests/model_validate.py
branchdevel
changeset 241 546316b0b09c
parent 231 3929338fd17f
child 294 0e75bd39767d
--- a/iro/tests/model_validate.py	Wed Mar 21 19:43:36 2012 +0100
+++ b/iro/tests/model_validate.py	Fri Mar 23 16:16:56 2012 +0100
@@ -5,10 +5,7 @@
 from iro.error import ValidateException
 
 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 ModelVaidatorTest(DBTestCase):
     """tests for the model vaidators"""