Software version URI fix
Tests are using variable SOFTWARE_VERSION_URI and some new tests
are using SOFTWARE_VERSION.
Fixes variable naming to:
SOFTWARE_VERSION_URI = '/xyz/openbmc_project/software/'
Resolves openbmc/openbmc-test-automation#785
Change-Id: I902d2defd01aa198024fc445b235b673132580d8
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/code_update/code_update.py b/extended/code_update/code_update.py
index 5f29936..d4f838a 100644
--- a/extended/code_update/code_update.py
+++ b/extended/code_update/code_update.py
@@ -40,7 +40,7 @@
retry = 0
while (retry < 20):
status, software_state = keyword.run_key("Read Properties " +
- var.SOFTWARE_VERSION + str(version_id))
+ var.SOFTWARE_VERSION_URI + str(version_id))
current_state = (software_state)["Activation"]
if (initial_state == current_state):
time.sleep(60)