'Validates that requesting to both enable a service and set the
disabled_reason results in a 400 BadRequest error.'

def test_update_enable_with_disabled_reason_fails(self):

    service = self.start_service('compute', 'fake-compute-host').service_ref
    ex = self.assertRaises(webob.exc.HTTPBadRequest, self.controller.update, self.req, service.uuid, body={'status': 'enabled', 'disabled_reason': 'invalid'})
    self.assertIn("Specifying    'disabled_reason'    with    status    'enabled'    is    invalid.", six.text_type(ex))
