manila-tempest-plugin/manila_tempest_tests
lkuchlan 1dfcc82e13 Add new configuration section for share features
We are currently skipping feature tests in a confusing way,
for example regarding snapshot feature we use two configuration
options: ``capability_snapshot_support``, ``run_snapshot_tests``
So in order to run a snapshot test we need enable these two
configuration options.

This patch suggests using a new single configuration option,
like other openstack services, called 'share-feature-enabled'.
This way we can skip tests depending on the features that the
environment supports.

This patch is part of the patches that will be uploaded later.
This patch removes the configuration options below:
``capability_snapshot_support``
``capability_create_share_from_snapshot_support``
``run_snapshot_tests``
``run_manage_unmanage_snapshot_tests``

This patch adds a new decorator used to set an attr for each
share feature and skips a test in case the environment does
not support the feature.

Change-Id: Ia41761352f1c3fb5004eeeda2d789a3ea6a8fc25
2024-03-10 14:29:39 +02:00
..
common Add share backup tests. 2024-02-22 09:01:46 +00:00
services Add share backup tests. 2024-02-22 09:01:46 +00:00
tests Add new configuration section for share features 2024-03-10 14:29:39 +02:00
__init__.py Use Tempest plugin interface 2015-09-05 00:36:33 +00:00
clients.py Use tempest-plugin service client registration 2017-07-31 20:41:06 +01:00
config.py Add new configuration section for share features 2024-03-10 14:29:39 +02:00
plugin.py Add new configuration section for share features 2024-03-10 14:29:39 +02:00
share_exceptions.py Add new configuration section for share features 2024-03-10 14:29:39 +02:00
utils.py Add new configuration section for share features 2024-03-10 14:29:39 +02:00