Skip to content

Commit 9ff5217

Browse files
Snooz82aaltat
authored andcommitted
refactored atest to pass
Signed-off-by: René <snooz@posteo.de>
1 parent b8942d5 commit 9ff5217

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

atest/assertion_equal.robot

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ Test Fail With Assertion Formatter Apply To Expected
2525
TRY
2626
Is Equal A${SPACE*2}B equal A${SPACE*4}C
2727
EXCEPT Prefix message 'A B' (str) should be 'A C' (str)
28-
Pass Execution Error Message correct
28+
Log Error Message correct
2929
END
3030

3131
Setting Assertion Formatters For Not Existing Keyword Should Fail
3232
TRY
3333
Set Assertion Formatters {"Not Here": ["strip", "apply to expected"]}
3434
EXCEPT Could not find keyword from library.
35-
Pass Execution Error Message Correct
35+
Log Error Message Correct
3636
END
3737

3838
Setting Assertion Formatters For Not Existing Formatter Should Fail
3939
TRY
4040
Set Assertion Formatters {"Is Equal": ["strip", "not here"]}
4141
EXCEPT KeyError: 'not here'
42-
Pass Execution Error Message Correct
42+
Log Error Message Correct
4343
END
4444

4545
Values Are Equal
@@ -61,22 +61,22 @@ Formatter Fails When Value Is Not Corrent Type
6161
TRY
6262
Is Equal As Number ${SPACE}1${SPACE} == ${1}
6363
EXCEPT AttributeError: 'int' object has no attribute 'strip'
64-
Pass Execution Error Message Correct
64+
Log Error Message Correct
6565
END
6666

6767
Values Are Equal Fails
6868
TRY
6969
Is Equal 1 == 2
7070
EXCEPT Prefix message '1' (str) should be '2' (str)
71-
Pass Execution Error Message Correct
71+
Log Error Message Correct
7272
END
7373

7474
Values Are Equal Fails With Formatter
7575
Set Assertion Formatters {"Is Equal": ["strip", "normalize spaces"]}
7676
TRY
7777
Is Equal ${SPACE}1${SPACE}1 == ${SPACE}1${SPACE}2
7878
EXCEPT Prefix message '1 1' (str) should be ' 1 2' (str)
79-
Pass Execution Error Message Correct
79+
Log Error Message Correct
8080
END
8181

8282
Values Are Equal Fails When No assertion_operator

0 commit comments

Comments
 (0)