pre-commit-ci-lite[bot]
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
1 deletions
-
tests/test_duplicate_operation_id_multiple_methods.py
|
|
@ -68,4 +68,7 @@ def test_three_methods_unique_operation_ids(): |
|
|
assert "get" in get_op["operationId"] |
|
|
assert "get" in get_op["operationId"] |
|
|
assert "post" in post_op["operationId"] |
|
|
assert "post" in post_op["operationId"] |
|
|
assert "delete" in delete_op["operationId"] |
|
|
assert "delete" in delete_op["operationId"] |
|
|
assert len({get_op["operationId"], post_op["operationId"], delete_op["operationId"]}) == 3 |
|
|
assert ( |
|
|
|
|
|
len({get_op["operationId"], post_op["operationId"], delete_op["operationId"]}) |
|
|
|
|
|
== 3 |
|
|
|
|
|
) |
|
|
|