Exemplo n.º 1
0
 def _rpc_api_reply(self, count=1):
     reclist = []
     for i in range(count):
         elem = apiutils.mservice_get_data()
         elem['id'] = i + 1
         rec = db_rec(elem)
         reclist.append(rec)
     return reclist
Exemplo n.º 2
0
 def _rpc_api_reply(self, count=1):
     reclist = []
     for i in range(count):
         elem = apiutils.mservice_get_data()
         elem['id'] = i + 1
         rec = db_rec(elem)
         reclist.append(rec)
     return reclist
Exemplo n.º 3
0
 def setUp(self):
     super(TestMagnumServiceObject, self).setUp()
     self.rpc_dict = apiutils.mservice_get_data()
Exemplo n.º 4
0
 def setUp(self):
     super(TestMagnumServiceObject, self).setUp()
     self.rpc_dict = apiutils.mservice_get_data()