Comment 9 for bug 1735588

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-hyperv (master)

Reviewed: https://review.openstack.org/532947
Committed: https://git.openstack.org/cgit/openstack/networking-hyperv/commit/?id=d5b72f4250ce3a60fb85f751c99fbba88a71ced0
Submitter: Zuul
Branch: master

commit d5b72f4250ce3a60fb85f751c99fbba88a71ced0
Author: Claudiu Belu <email address hidden>
Date: Tue Jan 9 05:53:42 2018 -0800

    tests: Use mock autospec in unit tests

    Autospecing will ensure that the method signatures are respected
    during calls.

    oslotest.mock_fixture contains 2 components, one of them adds the autospec
    argument to mock.Mock and mock.MagicMock, while the other one fixes the
    autospec behaviour for mock.patch functions, and sets autospec to True by
    default, unless otherwise specified.

    Change-Id: Ib785be16e2b81a32dff32b0e070e34e0675d4b4f
    Closes-Bug: #1735588