Fix openonu-go "Onu Etcd Data Check" test due to changes in format of persisted data stored on KV store.
Change-Id: Ide9b69281fc1efd26f5c4ee9d8d73ae2826fff5e
diff --git a/tests/openonu-go-adapter/Voltha_ONUUtilities.robot b/tests/openonu-go-adapter/Voltha_ONUUtilities.robot
index 84cc738..edb7a36 100755
--- a/tests/openonu-go-adapter/Voltha_ONUUtilities.robot
+++ b/tests/openonu-go-adapter/Voltha_ONUUtilities.robot
@@ -125,7 +125,9 @@
${serialnumberlist}= Create List
FOR ${INDEX} IN RANGE 0 ${length}
${value}= Get From List ${jsondata} ${INDEX}
- ${tp_path}= Get From Dictionary ${value['uni_config'][0]} tp_path
+ # TODO: The TP ID is hardcoded to 64 below. It is fine when testing single-tcont workflow.
+ # When testing multi-tcont this may need some adjustment.
+ ${tp_path}= Get From Dictionary ${value['uni_config'][0]['PersTpPathMap']} 64
${pononuuniid}= Read Pon Onu Uni String ${tp_path}
${list_id}= Get Index From List ${pononuuniidlist} ${pononuuniid}
Should Be Equal As Integers ${list_id} -1