From c9aed0a145867da5fb85d43459b584da56084fb8 Mon Sep 17 00:00:00 2001 From: Ruslan Khozinov Date: Wed, 23 Nov 2016 16:48:48 +0300 Subject: [PATCH] CI fix for the plugin version variable Plugin version has been hardcoded - it affects support of the plugin. We need a method to change version by CI. Change-Id: I4a636cb52016715701723f9a60e2301a67821fc5 --- plugin_test/tests/test_plugin_nsxv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_test/tests/test_plugin_nsxv.py b/plugin_test/tests/test_plugin_nsxv.py index 3ee37dd..6f40b3e 100644 --- a/plugin_test/tests/test_plugin_nsxv.py +++ b/plugin_test/tests/test_plugin_nsxv.py @@ -44,8 +44,8 @@ class TestNSXvPlugin(TestBasic): """Here are automated tests from test plan that has mark 'Automated'.""" _common = None - plugin_name = 'nsxv' - plugin_version = '3.0.0' + plugin_name = os.getenv('NSXV_PLUGIN_NAME','nsxv') + plugin_version = os.getenv('NSXV_PLUGIN_VERSION','3.0.1') net1 = {'name': 'net_1', 'cidr': '192.168.112.0/24'} net2 = {'name': 'net_2', 'cidr': '192.168.113.0/24'}