Comment 9 for bug 1297875

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (milestone-proposed)

Reviewed: https://review.openstack.org/85521
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5efc0163490d02b6015286f2d25a186624be95c5
Submitter: Jenkins
Branch: milestone-proposed

commit 5efc0163490d02b6015286f2d25a186624be95c5
Author: Miguel Angel Ajo <email address hidden>
Date: Mon Mar 31 15:50:55 2014 +0200

    fixes tests using called_once_ without assert

    A few tests were using mock's called_once, or called_once_with_args
    instead of assert_called_once or assert_called_once_with_args. Those
    methods return a bool that needs to be actively checked.

    The tests are fixed to avoid them from passing if the call condition
    is not met.

    Change-Id: I21e5257b26b2a08cc8f0b108233d1d5cc0b97b89
    Closes-bug: #1297875
    (cherry picked from commit c6c4a20777921dc1b21e80edb96ccd957a054c68)