python-novaclient/novaclient/tests/unit/v2/contrib
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
..
__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_assisted_volume_snapshots.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_baremetal.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_cells.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_instance_actions.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_list_extensions.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_migrations.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_server_external_events.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
test_tenant_networks.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00