Comment 31 for bug 1473369

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

Reviewed: https://review.openstack.org/217031
Committed: https://git.openstack.org/cgit/openstack/glance_store/commit/?id=652a5bb4341ae8dc3eab05a1d2154d11f1bc32f0
Submitter: Jenkins
Branch: stable/kilo

commit 652a5bb4341ae8dc3eab05a1d2154d11f1bc32f0
Author: Mike Fedosin <email address hidden>
Date: Fri Jul 10 18:55:46 2015 +0300

    Remove usage of assert_called_once in mocks

    This was never a real part of the mock api, but mock was happily mocking
    it out and letting the tests pass. The new mock release made this
    behaviour break, causing tests to fail on all patches. This patch
    replaces instances of assert_called_once with an assert of the mock's
    call_count.

    Change-Id: I41ea0456acda86147ce3a7da0311e926782b4542
    Closes-Bug: #1473369