← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1323345] Re: Nova should provide helpers for getting a Mock object instead of decorating test methods

 

See #4 here:

https://wiki.openstack.org/wiki/ReviewChecklist#Common_Review_Checklist

This has also been in the mailing list a few times, which I understand
is not great for new people to the project since it's old threads, but
the wiki is the summary of that long thread on the topic.

A better use of resources is to probably get our readmes and docs
updated since those are pretty out of date.

** Changed in: nova
       Status: New => 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


References