python-novaclient/novaclient/tests/unit
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
..
fixture_data Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
v2 Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
__init__.py Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
fake_actions_module.py Fix help message in case of microversions 2015-12-08 17:09:31 +02:00
fakes.py remove the default arguments "[]" 2015-12-09 20:59:48 +08:00
idfake.pem Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
test_api_versions.py [microversions] share one object for shell arguments 2015-12-22 15:17:12 +02:00
test_auth_plugins.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_base.py Revert "nova flavor-show command is inconsistent" 2015-04-21 22:19:06 +00:00
test_client.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_discover.py Make _discover_extensions public 2015-05-06 14:10:59 +08:00
test_http.py Ensure the use of volume endpoint in volumes apis 2015-03-17 01:19:11 +00:00
test_service_catalog.py Migrate to keystoneauth from keystoneclient 2015-12-12 20:39:57 -08:00
test_shell.py Merge "Fix help strings" 2016-01-04 13:32:43 +00:00
test_utils.py Not transform to str on potential unicode fields 2015-11-22 04:34:07 +08:00
utils.py Fix H404/405 violations in novaclient/tests/* 2015-12-07 14:17:56 +09:00