Fix skipping test volume swap

In commit [1] option attach_encrypted_volume started to be used to skip tests for volume swap, the problem is that this option is true by default [2], and now these tests are skipped on all environments. It was
decided to skip these tests in cases when default volume type is encrypted in the same way as it is done for volume transfers [3]. The only difference is that the skip method is added inside resource_setup class method, to allow to skip all tests of the class on setUpClass stage.


[1] https://gerrit.mcp.mirantis.com/c/packaging/sources/tempest/+/173760
[2] https://gerrit.mcp.mirantis.com/plugins/gitiles/packaging/sources/tempest/+/refs/heads/mcp/caracal/tempest/config.py#598
[3] https://gerrit.mcp.mirantis.com/plugins/gitiles/packaging/sources/tempest/+/refs/heads/mcp/caracal/tempest/api/volume/test_volume_transfers.py

Change-Id: Ib0f558c024daab700c0dd4f41c669fe7c3fc3607
Related-Prod: https://mirantis.jira.com/browse/PRODX-48198
1 file changed