pulling subscriber status from datafile
Change-Id: I078c2eaec4b9bdb998b72d600d6e018f09584c11
diff --git a/src/test/cord-api/Tests/Subscriber_StatusChecks.txt b/src/test/cord-api/Tests/Subscriber_StatusChecks.txt
index ae85153..5b2bf29 100644
--- a/src/test/cord-api/Tests/Subscriber_StatusChecks.txt
+++ b/src/test/cord-api/Tests/Subscriber_StatusChecks.txt
@@ -67,7 +67,8 @@
${status}= Get From Dictionary ${getJsonDict} status
${Subscriber_Id}= Get From Dictionary ${getJsonDict} id
Set Global Variable ${Subscriber_Id}
- Should Be Equal ${status} awaiting-auth
+ ${expected_status}= utils.getFieldValueFromDict ${subscriberDict} status
+ Should Be Equal ${status} ${expected_status}
Wait Until Keyword Succeeds 60s 2s Test Ping ${ENABLE_STATUS} ${src_ip} ${src_user} ${src_pass} ${dst_host_ip}
#Set Global Variable ${Subscriber_Id}