From 21fcef50f0e3780cc786268937f9888c3b6facd1 Mon Sep 17 00:00:00 2001 From: Ah Date: Mon, 1 Oct 2018 16:50:04 +0530 Subject: code changed to add v2.0 as default value Issue-ID: TEST-39 Change-Id: If1bd85197d12aea11613380eb314310a0b66967a Signed-off-by: Ah --- eteutils/OpenstackLibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eteutils/OpenstackLibrary.py b/eteutils/OpenstackLibrary.py index 1be497c..adb12db 100644 --- a/eteutils/OpenstackLibrary.py +++ b/eteutils/OpenstackLibrary.py @@ -12,7 +12,7 @@ class OpenstackLibrary: self._cache = robot.utils.ConnectionCache('No connections created') self.builtin = BuiltIn() - def save_openstack_auth(self, alias, response,token, version): + def save_openstack_auth(self, alias, response,token, version='v2.0'): """Save Openstack Auth takes in an openstack auth response and saves it to allow easy retrival of token and service catalog""" self.builtin.log('Creating connection: %s' % alias, 'DEBUG') jsonResponse = json.loads(response); -- cgit 1.2.3-korg