[openstack-dev] [zun][unit test] Could anyone help one the unittest fail?

Shunli Zhou shunli6658 at gmail.com
Wed Jul 26 02:20:16 UTC 2017

Could anyone help on the unittest fail about the pecan api, refer to

I have two api, they are added in two patches. The first is
HostController:get_all, which list all the zun host. The second is the
HostController:get_one. So the get_all version restrict to 1.4 and get_one
version is restricted to 1.5.

Not know why the pecan will call get_one when test get_all. I debugged the
code, the pecan first call get_all with version 1.4, and everything is ok,
but after that pecan will also route the request to get_one, which requires
1.5 version. And then the test failed. The code works fine in devstack.

Could anyone help me why the test failed, what's wrong about the test code?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170726/2be90bef/attachment.html>

More information about the OpenStack-dev mailing list