Lines Matching refs:AndReturn
108 ).AndReturn(True)
115 ).AndReturn(self.BACKUP_DRONE)
118 ).AndReturn(self.DRONE_ROLE)
132 mox.IgnoreArg()).AndReturn(True)
134 ).AndReturn(True)
136 self.BACKUP_DRONE.get_role_names().AndReturn(
141 ).AndReturn(self.DRONE_ROLE)
154 self.BACKUP_DRONE.get_role_names().AndReturn(
172 ).AndReturn(True)
174 self.BACKUP_DRONE.get_role_names().MultipleTimes().AndReturn(
179 ).AndReturn(self.DRONE_ROLE)
192 self.BACKUP_DRONE.get_role_names().AndReturn(
206 ).AndReturn(True)
208 self.BACKUP_DRONE.get_role_names().MultipleTimes().AndReturn(
213 ).AndReturn(None)
217 ).AndReturn([self.PRIMARY_SCHEDULER])
232 self.PRIMARY_DRONE.get_role_names().MultipleTimes().AndReturn(
236 ).AndReturn(None)
237 server_manager_utils.use_server_db().MultipleTimes().AndReturn(True)
243 ).AndReturn([self.PRIMARY_SCHEDULER])
274 ).AndReturn(QueriableList([self.SCHEDULER_ROLE]))
278 ).AndReturn(QueriableList([self.PRIMARY_SCHEDULER]))
292 mox.IgnoreArg()).AndReturn(False)
295 self.BACKUP_DRONE.get_role_names().MultipleTimes().AndReturn(
312 mox.IgnoreArg()).AndReturn(True)
313 server_manager_utils.use_server_db().MultipleTimes().AndReturn(True)
315 self.PRIMARY_SCHEDULER.get_role_names().AndReturn(
320 ).AndReturn(self.DRONE_ROLE)
324 ).AndReturn([self.PRIMARY_SCHEDULER])
338 server_manager_utils.use_server_db().MultipleTimes().AndReturn(True)
341 self.PRIMARY_DRONE.get_role_names().MultipleTimes().AndReturn(
347 ).AndReturn(self.DRONE_ROLE)
352 ).AndReturn([self.PRIMARY_SCHEDULER])
368 server_manager_utils.use_server_db().MultipleTimes().AndReturn(True)
371 self.PRIMARY_DRONE.get_role_names().MultipleTimes().AndReturn(
377 ).AndReturn(self.DRONE_ROLE)