Comment 5 for bug 1330391

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

Reviewed: https://review.openstack.org/140116
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=ab37c79a7e3527ee022cb7a6703c16aa0803e33a
Submitter: Jenkins
Branch: master

commit ab37c79a7e3527ee022cb7a6703c16aa0803e33a
Author: vponomaryov <email address hidden>
Date: Mon Dec 8 21:00:29 2014 +0200

    Fix wrong mock assertions in unit tests

    'mock' objects don't have method "assert_called_once", but this is called in
    following unit test suites:

    manila/tests/network/linux/test_interface.py
    manila/tests/network/neutron/test_neutron_api.py
    manila/tests/test_share_generic.py
    manila/tests/test_service_instance.py
    manila/tests/test_share_glusterfs.py
    manila/tests/test_utils.py

    Make unit tests call proper assertion methods.

    Change-Id: I96923bd345fc5129963c77dfce3555e7284eb836
    Closes-Bug: #1330391