python-manilaclient/manilaclient/tests/unit/v2
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
..
__init__.py Nova Style API Version Support for Client 2015-11-16 19:03:55 +00:00
fake_clients.py Remove Nova Net option for share networks 2017-01-16 12:11:14 -05:00
fakes.py TrivialFix: Remove unnecessary future imports 2020-05-05 08:44:02 -07:00
test_availability_zones.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_limits.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_messages.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_quota_classes.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_quotas.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_scheduler_stats.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_security_services.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_services.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_export_locations.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_group_snapshots.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_group_type_access.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_group_types.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_groups.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_instance_export_locations.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_instances.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_network_subnets.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_networks.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_replica_export_locations.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_replicas.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_servers.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_snapshot_export_locations.py Add search_opts in func list of ManagerWithFind type classes 2017-12-22 11:16:59 +08:00
test_share_snapshot_instance_export_locations.py Add search_opts in func list of ManagerWithFind type classes 2017-12-22 11:16:59 +08:00
test_share_snapshot_instances.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_share_snapshots.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_shares.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_shell.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_type_access.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00
test_types.py Use unittest.mock instead of third party lib 2020-06-22 17:26:26 -07:00