'Tests that you can\'t update a non-nova-compute service.'

def test_update_forced_down_invalid_service(self):

    service = self.start_service('scheduler', 'fake-scheduler-host').service_ref
    ex = self.assertRaises(webob.exc.HTTPBadRequest, self.controller.update, self.req, service.uuid, body={'forced_down': True})
    self.assertEqual('Updating    a    nova-scheduler    service    is    not    supported.    Only    nova-compute    services    can    be    updated.', six.text_type(ex))
