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 methds would
silently pass -- but after the upgrade these (rightly) cause
errors that need to be fixed.
Reviewed: https:/ /review. openstack. org/200791 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=f9b0a3a9689 859414a99aa2adb eae3697bdcbae5
Committed: https:/
Submitter: Jenkins
Branch: master
commit f9b0a3a96898594 14a99aa2adbeae3 697bdcbae5
Author: rico.lin <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 methds would
silently pass -- but after the upgrade these (rightly) cause
errors that need to be fixed.
Change-Id: I35fbd142a199f5 e5f39b7835fee0a c888dc9784b
Closes-Bug: 1473454