← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1320265] [NEW] Don't use mock non-exist method assert_called_once

 

Public bug reported:

There isn't method assert_called_once in class mock
and hence does not really check anything. Let's use
assertTrue(mock.called) to check.

** Affects: neutron
     Importance: Undecided
     Assignee: ChangBo Guo(gcb) (glongwave)
         Status: In Progress

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

Title:
  Don't use mock non-exist method assert_called_once

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  There isn't method assert_called_once in class mock
  and hence does not really check anything. Let's use
  assertTrue(mock.called) to check.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1320265/+subscriptions


Follow ups

References