← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475722] Re: Never use MagicMock

 

** Also affects: neutron
   Importance: Undecided
       Status: New

** Changed in: neutron
     Assignee: (unassigned) => lilintan (lilintan)

** No longer affects: neutron

** Also affects: python-neutronclient
   Importance: Undecided
       Status: New

** Changed in: python-neutronclient
     Assignee: (unassigned) => lilintan (lilintan)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1475722

Title:
  Never use MagicMock

Status in python-neutronclient:
  In Progress
Status in python-openstackclient:
  Fix Released
Status in OpenStack SDK:
  Fix Committed

Bug description:
  They magically allow things to pass. This is bad.

  Any usage should be replaced with the Mock class and explicit
  attributes should be set on it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-neutronclient/+bug/1475722/+subscriptions