-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04e5df7
commit 9c4df1c
Showing
5 changed files
with
176 additions
and
79 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
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
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,53 @@ | ||
--- | ||
|
||
test_name: Test finally block doing nothing | ||
|
||
stages: | ||
- name: Simple echo | ||
request: | ||
url: "{host}/echo" | ||
method: POST | ||
json: | ||
value: "123" | ||
response: | ||
status_code: 200 | ||
json: | ||
value: "123" | ||
|
||
finally: | ||
- name: nothing | ||
request: | ||
url: "{host}/echo" | ||
method: POST | ||
json: | ||
value: "123" | ||
|
||
--- | ||
|
||
test_name: Test finally block fail | ||
|
||
_xfail: run | ||
|
||
stages: | ||
- name: Simple echo | ||
request: | ||
url: "{host}/echo" | ||
method: POST | ||
json: | ||
value: "123" | ||
response: | ||
status_code: 200 | ||
json: | ||
value: "123" | ||
|
||
finally: | ||
- name: nothing | ||
request: | ||
url: "{host}/echo" | ||
method: DELETE | ||
json: | ||
value: "123" | ||
response: | ||
status_code: 200 | ||
json: | ||
value: "123" |