tempest/tempest/api/compute
Andrea Frittoli 9f416dd25a Stop implicit validation_resources provisioning
The provisioning of validation resources is unreadable and hard to
use. Tests have to call an helper before super's resource_setup is
invoked and they will find resources in a dictionary in a class
attribute.

Changing to a model where the test.py base class provides helpers
that takes care of common tasks:
- pulling the right parameters from configuration
- scheduling cleanup

There are two helpers available, one to be used when validation
resources are provisioned for a server created at class setup time;
the second one shall be used with servers provisioned durint tests
or test setup.

The new helper returns the provisioned resources to the test.
Other helpers are affected by this change since they cannot pull
validation resource from class anymore safely, and they have
been updated to accept validation resources as input.

Change-Id: I1106e40c6d7483f66d645f3bb560c6d74a612d0f
2017-09-12 15:02:14 -06:00
..
admin Stop implicit validation_resources provisioning 2017-09-12 15:02:14 -06:00
certificates Remove unnecessary checks already coverd in schema 2017-08-02 13:58:53 +08:00
flavors Move test decorators to common 2017-08-23 17:09:33 +00:00
floating_ips Use skip_checks if all testcases have same skip conditions 2017-08-24 14:58:21 +08:00
images Merge "Do not use any() to check whether a list is empty" 2017-06-28 04:55:31 +00:00
keypairs Remove unnecessary assertIsNotNone check 2017-08-03 14:03:31 +08:00
limits Use assert(Not)Empty,IsNotNone instead of assert(Not)Equal,GreaterEqual(0, len(.. 2017-06-05 23:43:53 +01:00
security_groups Use skip_checks if all testcases have same skip conditions 2017-08-24 14:58:21 +08:00
servers Stop implicit validation_resources provisioning 2017-09-12 15:02:14 -06:00
volumes Stop implicit validation_resources provisioning 2017-09-12 15:02:14 -06:00
__init__.py remove unneeded __init__ file 2013-12-22 20:40:31 -05:00
api_microversion_fixture.py Migrated microversion testing framework to tempest/lib 2016-03-11 08:17:15 +00:00
base.py Stop implicit validation_resources provisioning 2017-09-12 15:02:14 -06:00
test_extensions.py Merge "Fix class name for test extensions" 2017-08-29 05:50:46 +00:00
test_networks.py test.py: stop using aliases for creds manager 2017-04-26 10:34:56 +02:00
test_quotas.py Move test decorators to common 2017-08-23 17:09:33 +00:00
test_tenant_networks.py Move test decorators to common 2017-08-23 17:09:33 +00:00
test_versions.py Move the `attr` decorator from test.py to tempest/lib 2017-04-14 11:16:36 +02:00