equal
deleted
inserted
replaced
3 from iro.model.pool import data |
3 from iro.model.pool import data |
4 |
4 |
5 from iro.error import ValidateException |
5 from iro.error import ValidateException |
6 |
6 |
7 from ..test_helpers.dbtestcase import DBTestCase |
7 from ..test_helpers.dbtestcase import DBTestCase |
8 |
8 from ..test_helpers.utils import DummyPool |
9 class DummyPool(): |
|
10 def run(self, f,*a,**k): |
|
11 return f(*a,**k) |
|
12 |
9 |
13 class ModelVaidatorTest(DBTestCase): |
10 class ModelVaidatorTest(DBTestCase): |
14 """tests for the model vaidators""" |
11 """tests for the model vaidators""" |
15 def setUp(self): |
12 def setUp(self): |
16 DBTestCase.setUp(self) |
13 DBTestCase.setUp(self) |