7ad3f55c66
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 merges keypair functional tests. Keypair has microversion v2.2. Their tests should not run for v2 code base. So this commit also does the following to avoid running microversion tests for v2: - Override scenario in keypair v2.2 tests for microversion only not for v2 and v2.1 - Add logic in api_sample_base.py to run those tests on v2.1 code base. Change-Id: Ifd39971625b035d817b2ccf0e5764682763acff9