From 6c9b2b74ca010e6facd8e83ef8d13116d082701e Mon Sep 17 00:00:00 2001 From: latte Date: Wed, 14 Oct 2026 16:10:04 +0200 Subject: [PATCH] test: satisfy lint in catalog override test --- tests/test_catalog_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_catalog_build.py b/tests/test_catalog_build.py index 5144ed0..bd10c1a 100644 --- a/tests/test_catalog_build.py +++ b/tests/test_catalog_build.py @@ -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