← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257222] Re: Fix errors in test_server_start_stop.py

 

The patch was merged in Icehouse.

** Tags added: api testing

** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1257222

Title:
  Fix errors in test_server_start_stop.py

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  There are incorrect body dict for stop actions. Such as:

  def test_stop_not_ready(self):
          self.stubs.Set(db, 'instance_get_by_uuid', fake_instance_get)
          self.stubs.Set(compute_api.API, 'stop', fake_start_stop_not_ready)
          req = fakes.HTTPRequest.blank('/v2/fake/servers/test_inst/action')
          body = dict(start="")
          self.assertRaises(webob.exc.HTTPConflict,
              self.controller._stop_server, req, 'test_inst', body)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1257222/+subscriptions