Stop using mox from objects/test_instance.py (1)
Stop using mox from objects/test_instance.py (1)

Replaced stubs.Set() with stub_out() and replaced mox with
mock.patch in nova/tests/unit/objects/test_instance.py.

Notes: This changeset is a partial fix only.

Part of blueprint remove-mox-newton

Change-Id: I2f58e8ec9750d123fd40e60481050db86e92abe2

phenoxim/nova,sebrandon1/nova,jianghuaw/nova,Juniper/nova,cloudbase/nova,klmitch/nova,sebrandon1/nova,jianghuaw/nova,klmitch/nova,cloudbase/nova,jianghuaw/nova,rahulunair/nova,rahulunair/nova,gooddata/openstack-nova,hanlind/nova,rahulunair/nova,rajalokan/nova,hanlind/nova,cloudbase/nova,klmitch/nova,vmturbo/nova,sebrandon1/nova,mahak/nova,jianghuaw/nova,vmturbo/nova,rajalokan/nova,rajalokan/nova,vmturbo/nova,Juniper/nova,gooddata/openstack-nova,Juniper/nova,mikalstill/nova,mikalstill/nova,alaski/nova,rajalokan/nova,phenoxim/nova,gooddata/openstack-nova,openstack/nova,openstack/nova,openstack/nova,klmitch/nova,hanlind/nova,mikalstill/nova,alaski/nova,mahak/nova,Juniper/nova,vmturbo/nova,gooddata/openstack-nova,mahak/nova