Revision: 157
Author:   janne.t.harkonen
Date:     Fri Aug 24 04:22:16 2012
Log:      add pybot/jybot tags to all tests
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=157

Modified:
 /trunk/atest/connections_and_login.txt
 /trunk/atest/execute_command.txt
 /trunk/atest/get_file.txt
 /trunk/atest/importing_with_args.txt
 /trunk/atest/interactive_session.txt
 /trunk/atest/login_with_public_key.txt
 /trunk/atest/put_file.txt
 /trunk/atest/run_tests.sh
 /trunk/atest/start_command.txt

=======================================
--- /trunk/atest/connections_and_login.txt      Sun Nov  7 23:16:55 2010
+++ /trunk/atest/connections_and_login.txt      Fri Aug 24 04:22:16 2012
@@ -1,4 +1,5 @@
 *** Settings ***
+Defaults Tags      pybot   jybot
 Test Teardown   Close All Connections
 Resource        resources/ssh_library_resources.txt

@@ -28,8 +29,9 @@
     [Setup]  Open Connection  ${HOST}
     ${ret}=  Login  ${USERNAME}  ${PASSWORD}
     Should Contain  ${ret}  Last login
-
+
 Enable Logging
+    [Tags]    pybot
     [Setup]  Remove File  ${OUTPUTDIR}/sshlog.txt
     Enable SSH Logging  ${OUTPUTDIR}/sshlog.txt
     Open Connection  ${HOST}
=======================================
--- /trunk/atest/execute_command.txt    Thu Aug 16 04:16:32 2012
+++ /trunk/atest/execute_command.txt    Fri Aug 24 04:22:16 2012
@@ -1,8 +1,9 @@
 *** Settings ***
+Resource        resources/ssh_library_resources.txt
+Force Tags      pybot   jybot
 Suite Setup     Login and Move Test Files
 Suite Teardown  Remove Test Files and Close Connections
 Test Teardown   Execute Command  rm -f ${TEST FILE NAME}
-Resource        resources/ssh_library_resources.txt

 *** Test Cases ***
 Execute Command With Defaults
=======================================
--- /trunk/atest/get_file.txt   Tue Nov  2 07:12:24 2010
+++ /trunk/atest/get_file.txt   Fri Aug 24 04:22:16 2012
@@ -1,4 +1,5 @@
 *** Settings ***
+Force Tags      pybot   jybot
 Suite Setup     Login and Move Test Files
 Suite Teardown  Remove Test Files and Close Connections
 Test Setup      Create Directory  ${TMPDIR}
=======================================
--- /trunk/atest/importing_with_args.txt        Wed Aug 22 21:55:51 2012
+++ /trunk/atest/importing_with_args.txt        Fri Aug 24 04:22:16 2012
@@ -1,5 +1,6 @@
 *** Settings ***
 Library         SSHLibrary  3 minutes 30 seconds  ${EMPTY}  $
+Force Tags      pybot   jybot

 *** Test Cases ***
 Test Library Args
=======================================
--- /trunk/atest/interactive_session.txt        Fri Aug 24 04:22:04 2012
+++ /trunk/atest/interactive_session.txt        Fri Aug 24 04:22:16 2012
@@ -1,4 +1,5 @@
 *** Settings ***
+Force Tags      pybot   jybot
 Suite Setup     Login and Move Test Files
 Suite Teardown  Remove Test Files and Close Connections
 Resource        resources/ssh_library_resources.txt
=======================================
--- /trunk/atest/login_with_public_key.txt      Sun Nov  7 23:24:19 2010
+++ /trunk/atest/login_with_public_key.txt      Fri Aug 24 04:22:16 2012
@@ -1,5 +1,6 @@
 *** Settings ***
-Test Setup  Open Connection  ${HOST}
+Force Tags      pybot   jybot
+Test Setup      Open Connection  ${HOST}
 Test Teardown   Close All Connections
 Resource        resources/ssh_library_resources.txt

@@ -22,7 +23,8 @@
Run Keyword And Expect Error Given key file '/invalid/path' does not exist Login With Public Key ${PUBKEY_USERNAME} /invalid/path ${PUBKEY_PASSWORD}

 Login With Invalid Public Key
- Run Keyword And Expect Error Login with public key failed Login With Public Key ${PUBKEY_USERNAME} ${INVALID PUBKEY FILE} ${PUBKEY_PASSWORD} + Run Keyword And Expect Error Login with public key failed for user: testkey + ... Login With Public Key ${PUBKEY_USERNAME} ${INVALID PUBKEY FILE} ${PUBKEY_PASSWORD}

 Login With Inaccessible Public Key
[Setup] Run Keywords Remove Read Permission Open Connection To Test Host
=======================================
--- /trunk/atest/put_file.txt   Tue Aug  7 02:37:53 2012
+++ /trunk/atest/put_file.txt   Fri Aug 24 04:22:16 2012
@@ -1,9 +1,10 @@
 *** Settings ***
Documentation This suite contains test for 'Put File 'keywords These tests use some dummy test files from under the scripts directory.
+Force Tags      pybot   jybot
 Suite Setup     Login As Valid User
 Suite Teardown  Run Keywords  Close Connection  Remove Local Tempdir
 Resource        resources/ssh_library_resources.txt
-Library  String
+Library         String

 *** Variables ***
 ${TMPDIR}  robot-tmpdir
=======================================
--- /trunk/atest/run_tests.sh   Mon Aug 13 22:12:05 2012
+++ /trunk/atest/run_tests.sh   Fri Aug 24 04:22:16 2012
@@ -16,9 +16,9 @@

 rm $OUTDIR/*
 if [ "$PYBOT" != "" ] ; then
-    pybot $COMMON_FLAGS -o pybot_output $* atest
+    pybot $COMMON_FLAGS -o pybot_output -i pybot $* atest
 fi
 if [ "$JYBOT" != "" ] ; then
-    jybot $COMMON_FLAGS -o jybot_output $* atest
+    jybot $COMMON_FLAGS -o jybot_output -i jybot $* atest
 fi
 rebot -d $OUTDIR $OUTDIR/*.xml
=======================================
--- /trunk/atest/start_command.txt      Thu Aug 16 04:16:20 2012
+++ /trunk/atest/start_command.txt      Fri Aug 24 04:22:16 2012
@@ -1,4 +1,5 @@
 *** Settings ***
+Force Tags      pybot   jybot
 Suite Setup     Login and Move Test Files
 Suite Teardown  Remove Test Files and Close Connections
 Test Teardown   Execute Command  rm -f ${TEST FILE NAME}

Reply via email to