python-manilaclient/manilaclient/tests/unit
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
..
common Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
osc Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
v1 Fix backwards compatibility for v1 API imports 2016-01-19 14:41:08 +02:00
v2 Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
__init__.py Move tests into manilaclient package 2014-10-20 15:41:18 +03:00
fakes.py TrivialFix: Remove unnecessary future imports 2020-05-05 08:44:02 -07:00
test_api_versions.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_base.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_client.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_functional_utils.py Implement wrapper for ascii table parser from tempest_lib.cli 2015-04-23 16:53:40 +03:00
test_shell.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_utils.py Fix 'List' command filters do not accept unicode symbols 2017-11-18 09:18:39 +00:00
utils.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00