python-novaclient/novaclient/tests/unit/v2
Chaozhe.Chen 14f63647e9 Test: Clean v2 client userwarning
Problem:
When we run nova client unit test, there are lots of UserWarnings
printed on the screen. These warnings mean to remind users not to
use v2.client directly.

Solution:
1. In top level tests such as some tests in test_auth_plugins.py
test_client.py and fixture_data/client.py, we use updated usage
novaclient.client instead of using novaclient.v2.client directly.
2. In v2 unit tests, we clean those warnings with setting direct_use
False.

Change-Id: I70682e54874860f1d67d29325811c9da616bb705
Closes-Bug: #1532711
2016-01-12 12:05:50 +08:00
..
contrib Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
__init__.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
fakes.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_agents.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_aggregates.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_auth.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_availability_zone.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_certs.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_client.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_cloudpipe.py Eliminate test comprehensions 2015-05-21 19:12:35 -05:00
test_fixed_ips.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_flavor_access.py Eliminate test comprehensions 2015-05-21 19:12:35 -05:00
test_flavors.py Add sort_dir/key to flavor list 2015-10-15 08:33:38 +08:00
test_floating_ip_dns.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_floating_ip_pools.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_floating_ips.py Revert "Allow admin user to get all tenant's floating IPs" 2015-06-15 15:25:37 -04:00
test_floating_ips_bulk.py Eliminate test comprehensions 2015-05-21 19:12:35 -05:00
test_fping.py Cleanup in asserts in python-novaclient 2015-03-03 15:36:49 +03:00
test_hosts.py Fix repr of a host from a hosts.list() 2015-11-25 07:58:38 +00:00
test_hypervisors.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_images.py Added marker functionality to flavours and images 2015-06-26 11:05:10 +01:00
test_keypairs.py Adds support for x509 certificates as keypairs 2015-08-05 19:55:48 +00:00
test_limits.py Combine test cases for checking nova limits response 2015-04-01 08:35:39 +05:30
test_networks.py Eliminate test comprehensions 2015-05-21 19:12:35 -05:00
test_quota_classes.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_quotas.py [Bug-Fix] Update requests body for quota-update 2015-09-04 17:49:27 +03:00
test_security_group_rules.py Replace assertTrue(isinstance()) by optimal assert 2016-01-07 02:55:45 +08:00
test_security_groups.py Fixed redeclared test_names 2015-02-24 19:29:23 +03:00
test_server_groups.py Replace assertTrue(isinstance()) by optimal assert 2016-01-07 02:55:45 +08:00
test_servers.py Merge "Add accessIPv4 and accessIPv6 when create server" 2015-12-09 04:39:50 +00:00
test_services.py Use assertTrue/False instead of assertEqual(T/F) 2016-01-04 09:52:04 -05:00
test_shell.py Merge "Validate the fixed ip address passed with --nic" 2016-01-04 20:11:41 +00:00
test_usage.py Eliminate test comprehensions 2015-05-21 19:12:35 -05:00
test_versions.py Add v2 support for optional project_id in version discovery urls 2015-11-04 18:09:14 -08:00
test_volumes.py Deprecate volume/volume-type/volume-snapshot CRUD CLIs/APIs 2015-06-02 14:14:06 -07:00
testfile.txt Rename v1_1 to v2 2015-02-04 17:40:46 +02:00