python-manilaclient/manilaclient/tests/unit/common
Goutham Pacha Ravi 2d4df937d5 Use unittest.mock instead of third party lib
mock was adopted into standard python
in version 3.3 [1]. Since python-manilaclient
no longer supports python2.7, we can use the inbuilt
mock package rather than the third party
lib.

Also fix some issues with imports that
weren't following our import conventions
of grouping imports [3]

[1] https://docs.python.org/3/library/unittest.mock.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-March/013281.html
[3] https://docs.openstack.org/hacking/latest/user/hacking.html#imports

Change-Id: I3e199e1a117ddf7739fce8858694a801a26ed08f
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-06-22 17:26:26 -07:00
..
apiclient Delete unused files to increase test coverage 2018-05-21 20:49:25 +08:00
__init__.py Nova Style API Version Support for Client 2015-11-16 19:03:55 +00:00
test_httpclient.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00