Mock.side_effects does not exist, use Mock.side_effect instead

Bug #1626880 reported by javeme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
javeme

Bug Description

Mock.side_effects property does not exist, but we use it in some places in the test case, we should use Mock.side_effect instead.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/375298

Changed in nova:
status: New → In Progress
javeme (javaloveme)
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/375298
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d1662d533fdd2b12ca3c781a96bcf7980b896ea4
Submitter: Jenkins
Branch: master

commit d1662d533fdd2b12ca3c781a96bcf7980b896ea4
Author: Javeme <email address hidden>
Date: Fri Sep 23 15:26:10 2016 +0800

    Mock.side_effects does not exist, use Mock.side_effect instead

    Mock.side_effects property does not exist, we should use
    Mock.side_effect instead in the test case.

    Closes-Bug: #1626880
    Change-Id: If64609b1bbe658b5523bf57abb62e9e9b2c44322

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 15.0.0.0b1

This issue was fixed in the openstack/nova 15.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.