There is no assert_called() method in mock, replace it with
assert_called_with() method. The old method used to work with
mock 1.0.1 because it was a noop in magicmock.
https://review.openstack.org/#/c/193935/ changed the OS_* vars
we source by forcing v2password as the auth method.
change our identity v3 test setup by setting v3password
Co-Authored-By: Steve Martinelli <email address hidden>
Reviewed: https:/ /review. openstack. org/200402 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=f807f0a66e2 d53b6711937a368 7d44f11dc1d6fd
Committed: https:/
Submitter: Jenkins
Branch: master
commit f807f0a66e2d53b 6711937a3687d44 f11dc1d6fd
Author: lin-hua-cheng <email address hidden>
Date: Fri Jul 10 00:11:18 2015 -0700
Fix wrong mock method call
There is no assert_called() method in mock, replace it with called_ with() method. The old method used to work with
assert_
mock 1.0.1 because it was a noop in magicmock.
Needs https:/ /review. openstack. org/#/c/ 200583 to pass the requirements check.
https:/ /review. openstack. org/#/c/ 193935/ changed the OS_* vars
we source by forcing v2password as the auth method.
change our identity v3 test setup by setting v3password
Co-Authored-By: Steve Martinelli <email address hidden>
Closes-Bug: 1473454
Depends-on: I0cfab6d13e5d9e 744cb302c86a2c2 1269923e75d
Change-Id: Id22765c7e04479 7e03d19ad1b103f adec2726aa2