iro/tests/viewinterface.py
branchdevel
changeset 241 546316b0b09c
parent 231 3929338fd17f
child 247 62322feaeda4
equal deleted inserted replaced
240:3406d3bf05d4 241:546316b0b09c
    12 from iro.model.job import exJobs
    12 from iro.model.job import exJobs
    13 
    13 
    14 import iro.error as IroError
    14 import iro.error as IroError
    15 
    15 
    16 from ..test_helpers.dbtestcase import DBTestCase
    16 from ..test_helpers.dbtestcase import DBTestCase
    17 
    17 from ..test_helpers.utils import DummyPool
    18 class DummyPool():
       
    19     def run(self, f,*a,**k):
       
    20         return f(*a,**k)
       
    21 
    18 
    22 class ViewInterfaceTest(DBTestCase):
    19 class ViewInterfaceTest(DBTestCase):
    23     """tests for the xmlrpc interface"""
    20     """tests for the xmlrpc interface"""
    24     def setUp(self):
    21     def setUp(self):
    25         DBTestCase.setUp(self)
    22         DBTestCase.setUp(self)