From d98eb69a354158252854ed4a5c9778e03d089191 Mon Sep 17 00:00:00 2001 From: David Lord Date: Thu, 12 Feb 2026 13:11:01 -0800 Subject: [PATCH] revert cli test change --- tests/test_cli.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 8f8f25cf..2a34088b 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -483,17 +483,12 @@ class TestRoutes: ["yyy_get_post", "static", "aaa_post"], invoke(["routes", "-s", "rule"]).output, ) - match_order = [ - r.endpoint - for r in app.url_map.iter_rules() - if r.endpoint != "_automatic_options" - ] + match_order = [r.endpoint for r in app.url_map.iter_rules()] self.expect_order(match_order, invoke(["routes", "-s", "match"]).output) def test_all_methods(self, invoke): output = invoke(["routes"]).output - assert "HEAD" not in output - assert "OPTIONS" not in output + assert "GET, HEAD, OPTIONS, POST" not in output output = invoke(["routes", "--all-methods"]).output assert "GET, HEAD, OPTIONS, POST" in output