-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: status should be evaluate latest response if failed #383
- Loading branch information
Showing
4 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
*** Settings *** | ||
Library RequestsLibrary | ||
Resource ../res_setup.robot | ||
|
||
Suite Setup Setup Flask Http Server | ||
Suite Teardown Teardown Flask Http Server And Sessions | ||
|
||
*** Test Cases *** | ||
|
||
Test evaluated response is always the one passed | ||
${response_error}= GET On Session ${GLOBAL_SESSION} url=/status/404 expected_status=any | ||
${response_ok}= GET On Session ${GLOBAL_SESSION} url=/status/200 expected_status=any | ||
Status Should Be 404 ${response_error} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VERSION = '0.9.5' | ||
VERSION = '0.9.6' |