yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14687
[Bug 1323345] [NEW] Nova should provide helpers for getting a Mock object instead of decorating test methods
Public bug reported:
Base class for tests is not providing helpers for managing mock objects
as it does for mox ones (self.mox)
At the moment, the only way to create a mock object and use it is to
decorate a test method which is not handy and doesn't allow new
contributors to cleary identify that mock is the new framework for
testing.
** Affects: nova
Importance: Undecided
Status: Opinion
--
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/1323345
Title:
Nova should provide helpers for getting a Mock object instead of
decorating test methods
Status in OpenStack Compute (Nova):
Opinion
Bug description:
Base class for tests is not providing helpers for managing mock
objects as it does for mox ones (self.mox)
At the moment, the only way to create a mock object and use it is to
decorate a test method which is not handy and doesn't allow new
contributors to cleary identify that mock is the new framework for
testing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1323345/+subscriptions
Follow ups
References