Dev #72
@@ -615,8 +615,8 @@ def test_post_annotation_overrides_in_the_real_catalog() -> None:
|
||||
|
||||
def test_every_annotation_override_names_a_real_post_operation() -> None:
|
||||
posts = {op.operation_id for op in load_catalog().operations if op.method == "POST"}
|
||||
assert READ_ONLY_POST_OPERATIONS <= posts
|
||||
assert DESTRUCTIVE_POST_OPERATIONS <= posts
|
||||
assert posts >= READ_ONLY_POST_OPERATIONS
|
||||
assert posts >= DESTRUCTIVE_POST_OPERATIONS
|
||||
assert not READ_ONLY_POST_OPERATIONS & DESTRUCTIVE_POST_OPERATIONS
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user