Lines Matching refs:STATUS
64 'status': server_models.Server.STATUS.PRIMARY,
70 'status': server_models.Server.STATUS.BACKUP,
76 'status': server_models.Server.STATUS.PRIMARY,
82 'status': server_models.Server.STATUS.BACKUP,
113 hostname=mox.IgnoreArg(), status=mox.IgnoreArg(),
202 """Test manager can change the status of a backup server to primary.
204 server_models.validate(status=server_models.Server.STATUS.PRIMARY)
216 status=server_models.Server.STATUS.PRIMARY
222 status=server_models.Server.STATUS.PRIMARY,
227 """Test manager can change the status of a primary server to backup.
229 server_models.validate(status=server_models.Server.STATUS.BACKUP)
242 status=server_models.Server.STATUS.PRIMARY
248 status=server_models.Server.STATUS.BACKUP,
253 """Test manager cannot change the status of a server with the same
254 status.
256 server_models.validate(status=server_models.Server.STATUS.BACKUP)
261 status=server_models.Server.STATUS.BACKUP,
266 """Test manager cannot change the status of a server from backup to
270 server_models.validate(status=server_models.Server.STATUS.PRIMARY)
277 status=server_models.Server.STATUS.PRIMARY
283 status=server_models.Server.STATUS.PRIMARY,
323 status=server_models.Server.STATUS.PRIMARY
351 status=server_models.Server.STATUS.PRIMARY