Comment 41 for bug 1544522

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

Reviewed: https://review.opendev.org/676838
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d90186068b197f0912fa2bf525bb752f2d8f3c31
Submitter: Zuul
Branch: stable/stein

commit d90186068b197f0912fa2bf525bb752f2d8f3c31
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/conductor/tasks/test_live_migrate.py
        nova/tests/unit/virt/libvirt/test_driver.py

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

        I734cc01dce13f9e75a16639faf890ddb1661b7eb
        Ief2c959d7c339e11b19e521de6e7d1be2f8722f8

    The changes for ComputeAPIAPICellUnitTestCase (Cells v1 test cases) was
    added in nova/tests/unit/compute/test_compute_api.py
    because the following change has not been applied in stable/stein.

        Ib0e0b708c46e4330e51f8f8fdfbb02d45aaf0f44

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