@@ -6,32 +6,33 @@ Documentation
6
6
Library Operating System
7
7
8
8
*** Variables ***
9
- ${PORT} 8271
9
+ ${SIMPLE PORT} 8271
10
+ ${LIBRARY STARTED} no
10
11
11
12
*** Test Cases ***
12
13
Remote keywords do not exist if remote server is not running
13
- [Documentation] FAIL No keyword with name 'KW 1' found.
14
- KW 1 Does not work yet
14
+ [Documentation] FAIL No keyword with name 'KW 1' found.
15
+ KW 1 Does not work yet
15
16
16
17
Start And Import Remote Library
17
- Start Process python ${CURDIR}${/}simplelibrary.py ${PORT}
18
- Import Library Remote localhost:${PORT}
19
- Set Suite Variable $ LIBRARY STARTED OK we actually should not require value here
20
- KW 1 Now this works!
18
+ Start Process python ${CURDIR}${/}simplelibrary.py ${SIMPLE PORT}
19
+ Import Library Remote localhost:${SIMPLE PORT}
20
+ Set Suite Variable ${ LIBRARY STARTED} yes
21
+ KW 1 Now this works!
21
22
22
23
Keywords From Simple Library
23
24
[Documentation] FAIL My error message
24
- ${ret} = KW 1
25
- Should Be Equal ${ret} ${EMPTY}
26
- ${ret} = KW 1 Hello world!
27
- Should Be Equal ${ret} Hello world!
28
- KW 2 My error message
25
+ ${ret} = KW 1
26
+ Should Be Equal ${ret} ${EMPTY}
27
+ ${ret} = KW 1 Hello world!
28
+ Should Be Equal ${ret} Hello world!
29
+ KW 2 My error message
29
30
30
31
Stop Remote Library
31
32
[Documentation] FAIL Connection to remote server broken: Connection refused
32
- Variable Should Exist $ LIBRARY STARTED OK
33
+ Should Be Equal ${ LIBRARY STARTED} yes
33
34
Stop Remote Server
34
- ${out} = Read Process Output
35
- Log ${out}
36
- KW 1 This won't work anymore
35
+ ${out} = Read Process Output
36
+ Log ${out}
37
+ KW 1 This won't work anymore
37
38
0 commit comments