[VOL-3252] Onu Ports disabled Check for Integration Test for OpenOnu go adapter
Change-Id: If4b0b194db5988aaf90f0e32bfbe7d402298d47e
diff --git a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
index 3841807..692df08 100755
--- a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
+++ b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
@@ -43,6 +43,7 @@
${testmode} SingleState
${porttest} True
${debugmode} False
+${pausebeforecleanup} False
*** Test Cases ***
ONU State Test
@@ -76,6 +77,15 @@
Common Test Suite Setup
Run Keyword If ${num_onus}>4 Calculate Timeout
+Teardown Suite
+ [Documentation] Replaces the Suite Teardown in utils.robot.
+ ... Cleans up and checks all ONU ports disabled in ONOS.
+ ... Furthermore gives the possibility to pause the execution.
+ Run Keyword If ${pausebeforecleanup} Import Library Dialogs
+ Run Keyword If ${pausebeforecleanup} Pause Execution Press OK to continue with clean up!
+ Run Keyword If ${teardown_device} Delete All Devices and Verify
+ Wait for Ports in ONOS ${ONOS_SSH_IP} ${ONOS_SSH_PORT} 0 BBSM
+
Setup Test
[Documentation] Pre-test Setup
#test for empty device list