]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes wrong usage of mock.assert_not_called()
authorChangBo Guo(gcb) <eric.guo@easystack.cn>
Wed, 6 Aug 2014 07:07:06 +0000 (15:07 +0800)
committerChangBo Guo(gcb) <eric.guo@easystack.cn>
Wed, 6 Aug 2014 07:07:06 +0000 (15:07 +0800)
commit324b981b78ae1d1dfef31b910b272e11ee166cbf
tree22e8a44280803b648beeadffff96ab65499ef8d7
parent07534bef77704e03f73e34adea594f06c09adcda
Fixes wrong usage of mock.assert_not_called()

There is no method assert_not_called in mock, use
assertFalse(mock.called) instead of that.

Change-Id: I1b37c49e0a624de42d89890b44458ec6bd4239ee
cinder/tests/test_glusterfs.py