]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix dhcp _test_sync_state_helper asserting calls wrong
authorDarragh O'Reilly <darragh.oreilly@hp.com>
Fri, 27 Feb 2015 08:23:24 +0000 (08:23 +0000)
committerEdgar Magana <emagana@gmail.com>
Tue, 5 May 2015 06:08:30 +0000 (06:08 +0000)
commitb85cfa96118d73ad87b150e488f295cbf9a2c140
tree2cc3f5a274a3a2ee893f28ce3bd640860eed49ca
parent8978516e49a246fb490dad9a2a4e34f1e98afea5
Fix dhcp _test_sync_state_helper asserting calls wrong

It was using a non-existing method that did nothing and
that masked other problems with the tests that used it.
Changed to use assert_has_calls() and fixed the problems
that fell out.

Change-Id: I4a64c3365f9958b14c2384932a31da2ce191e2e2
Closes-Bug: 1426265
neutron/hacking/checks.py
neutron/tests/unit/agent/dhcp/test_agent.py
neutron/tests/unit/hacking/test_checks.py