Reviewed: https://review.openstack.org/281230 Committed: https://git.openstack.org/cgit/openstack/python-designateclient/commit/?id=607bef280c19a8842ff97629d65bbf8ddf288845 Submitter: Jenkins Branch: master
commit 607bef280c19a8842ff97629d65bbf8ddf288845 Author: Chaozhe.Chen <email address hidden> Date: Wed Feb 17 11:49:22 2016 +0800
Stop using non-existent method of Mock
There is no method called_once_with() in Mock object. Use assert_called_once_with() instead.
I tested it in my tox environment. The revised assertion will work.
Change-Id: I530b58a434b4c031d236b0b04e8c7091854c992f Closes-Bug: #1544522
Reviewed: https:/ /review. openstack. org/281230 /git.openstack. org/cgit/ openstack/ python- designateclient /commit/ ?id=607bef280c1 9a8842ff97629d6 5bbf8ddf288845
Committed: https:/
Submitter: Jenkins
Branch: master
commit 607bef280c19a88 42ff97629d65bbf 8ddf288845
Author: Chaozhe.Chen <email address hidden>
Date: Wed Feb 17 11:49:22 2016 +0800
Stop using non-existent method of Mock
There is no method called_once_with() in Mock object. called_ once_with( ) instead.
Use assert_
I tested it in my tox environment. The revised assertion will work.
Change-Id: I530b58a434b4c0 31d236b0b04e8c7 091854c992f
Closes-Bug: #1544522