'Tests that the caller gets a 400 error if they only specify
disabled_reason but don\'t also specify status=\'disabled\'.'

def test_update_only_disabled_reason(self):

    service = self.start_service('compute').service_ref
    ex = self.assertRaises(webob.exc.HTTPBadRequest, self.controller.update, self.req, service.uuid, body={'disabled_reason': 'missing    status'})
    self.assertEqual("No    updates    were    requested.    Fields    'status'    or    'forced_down'    should    be    specified.", six.text_type(ex))
