9f416dd25a
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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_attach_volume.py | ||
test_attach_volume_negative.py | ||
test_volume_snapshots.py | ||
test_volumes_get.py | ||
test_volumes_list.py | ||
test_volumes_negative.py |