← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1989269] [NEW] Wrong assertion method in a unit test

 

Public bug reported:

There is a wrong assertion method in the master.

https://opendev.org/openstack/neutron/src/commit/ead685b9381bccb536a943409dc8ded57b65c70f/neutron/tests/unit/agent/l3/test_ha_router.py#L154

        mock_pm.disable.has_calls(calls)

'has_calls' should be 'assert_has_calls'.

** Affects: neutron
     Importance: Undecided
     Assignee: Takashi Natsume (natsume-takashi)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Takashi Natsume (natsume-takashi)

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

Title:
  Wrong assertion method in a unit test

Status in neutron:
  New

Bug description:
  There is a wrong assertion method in the master.

  https://opendev.org/openstack/neutron/src/commit/ead685b9381bccb536a943409dc8ded57b65c70f/neutron/tests/unit/agent/l3/test_ha_router.py#L154

          mock_pm.disable.has_calls(calls)

  'has_calls' should be 'assert_has_calls'.

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



Follow ups