Enable Qemu test execution
This change addresses the following
- user input SSH and HTTPS port
- consolidate SSH connections in lib
- fix obsolete codes
- update README instructions
Resolves openbmc/openbmc-test-automation#41
Change-Id: I06dd132fb745ebbf035cb0fc583b46542448d126
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_openbmc_service_restart_policy.robot b/tests/test_openbmc_service_restart_policy.robot
index 93b9c44..845958f 100644
--- a/tests/test_openbmc_service_restart_policy.robot
+++ b/tests/test_openbmc_service_restart_policy.robot
@@ -1,12 +1,12 @@
*** Settings ***
-Documentation This testsuites tests the autorestart policy for
-... OpenBMC project
+Documentation This testsuites tests the autorestart policy for
+... OpenBMC project
-Resource ../lib/resource.txt
+Resource ../lib/resource.txt
+Resource ../lib/connection_client.robot
-Library SSHLibrary
-Suite Setup Open Connection And Log In
-Suite Teardown Close All Connections
+Suite Setup Open Connection And Log In
+Suite Teardown Close All Connections
*** Test Cases ***
Test OpenBMC Services Autorestart Policy
@@ -54,7 +54,3 @@
[arguments] ${command}
${stdout} ${stderr} ${rc}= Execute Command ${command} return_stderr=True return_rc=True
[Return] ${stdout} ${stderr} ${rc}
-
-Open Connection And Log In
- Open connection ${OPENBMC_HOST}
- Login ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}