yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30201
[Bug 1273451] Re: improper use of mock with stevedore in tests
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-3
--
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/1273451
Title:
improper use of mock with stevedore in tests
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
The tests in nova/tests/test_hook.py are mocking a private part of the
stevedore API (_load_plugins) instead of using
ExtensionManager.make_test_instance() to create a test version of an
ExtensionManager and passing that somewhere instead.
See https://review.openstack.org/#/c/69475/1 as a first-pass work-
around.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1273451/+subscriptions
References