The new mock release(1.1.0) broke some of the unit tests which
were using incorrect mock methods that do not really exist.
Before mock 1.1.0 using such incorrectly mocked methods would
silently pass -- but after the upgrade these (rightly) cause
errors that need to be fixed.
Reviewed: https:/ /review. openstack. org/202015 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=3b111f98b70 43d2e126ab234e0 bf17b59751069d
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 3b111f98b7043d2 e126ab234e0bf17 b59751069d
Author: Nikhil Manchanda <email address hidden>
Date: Sat Jul 11 12:54:26 2015 +0800
Fix unit test mocks for new mock release
The new mock release(1.1.0) broke some of the unit tests which
were using incorrect mock methods that do not really exist.
Before mock 1.1.0 using such incorrectly mocked methods would
silently pass -- but after the upgrade these (rightly) cause
errors that need to be fixed.
Change-Id: I35fbd142a199f5 e5f39b7835fee0a c888dc9784b
Closes-Bug: 1473454