Fix for SSL error test case and base code cleanup

This change addresses the following
  - Warning messages from existing code tags,documentation etc
  - Fix SSL Connection error test case

Resolves openbmc/openbmc-test-automation#9 and
resolves openbmc/openbmc-test-automation#4

Change-Id: I41a1ce8b42304b2e4b0a6c5de2c5f995788d599e
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/security/test_ssl.robot b/tests/security/test_ssl.robot
index 7bcab5e..0f05d9d 100644
--- a/tests/security/test_ssl.robot
+++ b/tests/security/test_ssl.robot
@@ -5,8 +5,6 @@
 Resource          ../../lib/rest_client.robot
 Resource          ../../lib/resource.txt
 
-Library           RequestsLibrary.RequestsKeywords
-
 *** Test Cases ***
 Test SSL Connection
     [Documentation]     This testcase is for testing the SSL connection to the
@@ -26,7 +24,7 @@
     ...     will not accepts the non-secure connection that is with http to
     ...     port 80 and expect a connection error
     Create Session    openbmc    http://${OPENBMC_HOST}/    timeout=3
-    Run Keyword And Expect Error    ConnectTimeout*   Get Request    openbmc   /list
+    Run Keyword And Expect Error    ConnectionError*   Get Request    openbmc   /list
 
 Test non-SSL Connection to port 443
     [Documentation]     This testcase is for test to check OpenBMC machine