Comment 46 for bug 1544522

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

Reviewed: https://review.opendev.org/676844
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8d50b509ece98db3dec94f1779b0fa0f1e2b319b
Submitter: Zuul
Branch: stable/queens

commit 8d50b509ece98db3dec94f1779b0fa0f1e2b319b
Author: Takashi NATSUME <email address hidden>
Date: Wed Aug 7 14:38:45 2019 +0900

    Fix non-existent method of Mock

    There is no method called_once_with() in Mock object.
    Use assert_called_once_with() or assert_has_calls() instead.

    Conflicts:
        nova/tests/unit/compute/test_compute_api.py
        nova/tests/unit/console/test_websocketproxy.py
        nova/tests/unit/virt/libvirt/test_driver.py

    NOTE(takashin): The conflict is due to not having the following changes
    in stable/queens.

        I4636a8d270ce01c1831bc951c4497ad472bc9aa8
        If1b6e5f20d2ea82d94f5f0550f13189fc9bc16c4
        Icdd039bb4374269d9da38e7f8d2e15e05ca8aadb

    Change-Id: I9f73fcbe7c3dfd64e75ac8224c13934b03443cd5
    Closes-Bug: #1544522
    (cherry picked from commit cf7d28eb6ea47818e9f3584f65ec025f5a46326b)
    (cherry picked from commit d90186068b197f0912fa2bf525bb752f2d8f3c31)
    (cherry picked from commit a5f39bd9c3771b4cf64c1a5b68bb850988e1fc73)