openstack-python-openstackc.../openstackclient/tests
lin-hua-cheng f807f0a66e Fix wrong mock method call
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.

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 <stevemar@ca.ibm.com>

Closes-Bug: 1473454

Depends-on: I0cfab6d13e5d9e744cb302c86a2c21269923e75d

Change-Id: Id22765c7e044797e03d19ad1b103fadec2726aa2
2015-07-11 18:57:20 -04:00
..
api Merge "Begin low-level API for Network v2" 2015-02-07 00:16:28 +00:00
common Add --os-endpoint-type cli optional argument 2015-07-02 10:10:46 -07:00
compute Fix wrong mock method call 2015-07-11 18:57:20 -04:00
identity openstack catalog list always returns publicURL for internalURL and adminURL 2015-07-08 21:40:44 +02:00
image Merge "Move update code from image create command" 2015-07-02 14:08:05 +00:00
network fix confused domain argument for network create v2 2015-06-26 12:08:22 +08:00
object fix the wrong order of assertEqual args 2015-01-27 17:02:41 +08:00
volume Fix wrong mock method call 2015-07-11 18:57:20 -04:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Add --os-endpoint-type cli optional argument 2015-07-02 10:10:46 -07:00
test_shell.py Add --os-endpoint-type cli optional argument 2015-07-02 10:10:46 -07:00
utils.py Check volume status before extending size 2015-02-06 09:05:41 -08:00