Revision: 07c62ff2e305
Author:   Anssi Syrjäsalo <[email protected]>
Date:     Tue Jun 18 07:34:05 2013
Log:      Importing with args to not use deprecated keywords

http://code.google.com/p/robotframework-sshlibrary/source/detail?r=07c62ff2e305

Modified:
 /atest/connections_and_login.txt
 /atest/importing_with_args.txt

=======================================
--- /atest/connections_and_login.txt    Tue Jun 18 07:13:27 2013
+++ /atest/connections_and_login.txt    Tue Jun 18 07:34:05 2013
@@ -1,5 +1,5 @@
 *** Settings ***
-Default Tags      pybot   jybot
+Default Tags    pybot   jybot
 Test Teardown   Close All Connections
 Resource        resources/ssh_library_resources.txt

=======================================
--- /atest/importing_with_args.txt      Fri Aug 24 04:22:16 2012
+++ /atest/importing_with_args.txt      Tue Jun 18 07:34:05 2013
@@ -1,11 +1,19 @@
 *** Settings ***
-Library         SSHLibrary  3 minutes 30 seconds  ${EMPTY}  $
+Library         SSHLibrary  3 minutes 30 seconds  ${EMPTY}  >>
 Force Tags      pybot   jybot

 *** Test Cases ***
 Test Library Args
-    ${default timeout} =  Set Timeout  1 minute
-    Should Be Equal  ${default timeout}  3 minutes 30 seconds
-    Open Connection    localhost
-    ${default prompt} =  Set Prompt  >>
-    Should Be Equal  ${default prompt}  $
+    [Setup]  Open Connections
+    ${conn}=  Get Connections
+    Should Be Equal As Integers  ${conn[0].timeout}  210
+    Should Be Equal  ${conn[0].prompt}  >>
+    Should Be Equal As Integers  ${conn[1].timeout}  60
+    Should Be Equal  ${conn[1].prompt}  >>
+    [Teardown]  Close All Connections
+
+*** Keywords ***
+Open Connections
+    Open Connection  localhost
+    Set Default Configuration  timeout=1 minute
+    Open Connection  localhost

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to