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
Reviewed: https:/ /review. openstack. org/140116 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=ab37c79a7e3 527ee022cb7a670 3c16aa0803e33a
Committed: https:/
Submitter: Jenkins
Branch: master
commit ab37c79a7e3527e e022cb7a6703c16 aa0803e33a
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 tests/network/ neutron/ test_neutron_ api.py tests/test_ share_generic. py tests/test_ service_ instance. py tests/test_ share_glusterfs .py tests/test_ utils.py
manila/
manila/
manila/
manila/
manila/
Make unit tests call proper assertion methods.
Change-Id: I96923bd345fc51 29963c77dfce355 5e7284eb836
Closes-Bug: #1330391