cinder/cinder/tests/functional/api_sample_tests/samples/volumes/v3.21
Gorka Eguileor dab5df1747 Update volume api microversion doc and tests
We have many microversions but we but we haven't kept the samples, docs,
and tests up to date with them.

Of the many microversions this patch will focus on the ones that have
updated the fields returned for volumes updating the docs, adding the
appropriate json samples, updating the tests, and updating the
contributor docs to highlight the need to keep these up to date.

Some convenience methods have been added to facilitate the testing:

- use_versions: class decorator that allows us to run the same tests
  with different microversions, each using their respective json and
  templates.

- override_mv: method decorator to change the microversion in a single
  test.

- common_api_sample: context manager to use the base sample instead of a
  microversion specific one.

Change-Id: Ide303685a4cd1477c319b36e67a3b05c8d129126
2021-05-31 12:41:46 +02:00
..
volume-create-response.json.tpl Update volume api microversion doc and tests 2021-05-31 12:41:46 +02:00
volume-show-response.json.tpl Update volume api microversion doc and tests 2021-05-31 12:41:46 +02:00
volume-update-response.json.tpl Update volume api microversion doc and tests 2021-05-31 12:41:46 +02:00
volumes-list-detailed-response.json.tpl Update volume api microversion doc and tests 2021-05-31 12:41:46 +02:00