e24c2239fb
Currently v2 and v2.1 have separate functional tests and their corresponding sample files. As v2 and v2.1 are supposed to be identical, there is overhead to maintain two set of functional tests and sample files. We can have one set of tests which can run for both v2 and v2.1. This commit use the testscenearios to generate the tests one for v2 and one for v2.1 and make v2.1 tests to run against v2.1 plugins by redirecting /v2 endpoint to v2.1 plugins in api-paste.ini As example this commit merge flavor APIs functional tests between v2 & v2.1. In V2 flavor API has following extensions - Flavor_swap - Flavor_disabled - Flavorextradata In V2.1 above extensions have been merged together in flavor plugins NOTE- As testscenarios is applied in base class. v2 tests will be generated for all the existing tests but for tests which are not merged yet their v2 generated tests will be skipped till they gets merged. After merge, both version tests are expected to pass like flavor tests in this patch. So you may see lot of skipped tests which is expected and will gets disappear as tests gets merged. Change-Id: I0e0262f818c7d7fb15528b16d3225b9578910996 |
||
---|---|---|
.. | ||
flavor-get-resp.json | ||
flavors-detail-resp.json | ||
flavors-list-resp.json |