Comment 14 for bug 1473369

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/kilo)

Reviewed: https://review.openstack.org/200654
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5eff0019dc928b9f6d132d189318c757457b7e8b
Submitter: Jenkins
Branch: stable/kilo

commit 5eff0019dc928b9f6d132d189318c757457b7e8b
Author: Kevin Benton <email address hidden>
Date: Thu Jul 9 16:54:23 2015 -0700

    Fix failures introduced by the new version of mock

    ===

    'assert_has_calls' that have changed behavior in the new version
    (no longer accepts single calls).

    Calls to non-existent assert methods that did not exist and were
    silently passing.

    Use of autospec on a class with decorated functions.

    Conflicts:
          neutron/tests/base.py

    (cherry picked from commit 3a871a73b88f8b75d64c88271b6fc6cdd4b1cfc0)

    ===

    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.

    (cherry picked from commit b85cfa96118d73ad87b150e488f295cbf9a2c140)

    ===

    Closes-Bug: #1473369
    Change-Id: I164a9af2a7f9ac0f0229ec3c5071f7a470445c98