-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Internal error on unresolvable Open API links
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
- Loading branch information
1 parent
53bdd2f
commit 2d2dc79
Showing
7 changed files
with
147 additions
and
21 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
29 changes: 29 additions & 0 deletions
29
test/cli/__snapshots__/test_commands/test_unresolvable_links[Open API 3.0].raw
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,29 @@ | ||
Exit code: 0 | ||
--- | ||
Stdout: | ||
======================= Schemathesis test session starts ======================= | ||
Schema location: file:///tmp/schema.json | ||
Base URL: http://127.0.0.1/api | ||
Specification version: Open API 3.0.2 | ||
Random seed: 42 | ||
Workers: 1 | ||
Collected API operations: 3 | ||
Collected API links: 2 | ||
API probing: SUCCESS | ||
Schema analysis: SKIP | ||
|
||
POST /api/users/ . [ 33%] | ||
-> GET /api/users/{user_id} . [ 50%] | ||
-> PATCH /api/users/{user_id} . [ 60%] | ||
GET /api/users/{user_id} . [ 80%] | ||
PATCH /api/users/{user_id} . [100%] | ||
|
||
=================================== SUMMARY ==================================== | ||
|
||
Performed checks: | ||
not_a_server_error 5 / 5 passed PASSED | ||
|
||
Tip: Use the `--report` CLI option to visualize test results via Schemathesis.io. | ||
We run additional conformance checks on reports from public repos. | ||
|
||
============================== 5 passed in 1.00s =============================== |
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