Added Trove (database) version API tests
Added a new file "test_versions.py" to verify the current
version of the Database API. Required supporting
functions are added in a new client file "versions_client.py"
under the JSON interface.
Modified api/base.py, etc/tempest.conf.sample, clients.py and
config.py files
Partially implements blueprint: trove-tempest
Change-Id: I3dbe4e40b8b2a1ec3c69573dd40c3c8a643d73d6
diff --git a/tempest/api/database/base.py b/tempest/api/database/base.py
index 8add9ba..cf70d11 100644
--- a/tempest/api/database/base.py
+++ b/tempest/api/database/base.py
@@ -36,7 +36,9 @@
cls.catalog_type = CONF.database.catalog_type
cls.db_flavor_ref = CONF.database.db_flavor_ref
+ cls.db_current_version = CONF.database.db_current_version
os = cls.get_client_manager()
cls.os = os
cls.database_flavors_client = cls.os.database_flavors_client
+ cls.database_versions_client = cls.os.database_versions_client