Skip to content
Myr

revert cli test change

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 12e95c9 · Browse files · 1 file+2 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−7 removed

  • tests:+2 added−7 removed

1 file+2 added−7 removed

modified:tests/test_cli.py+2 added-7 removed
481 unmodified lines
482 self.expect_order(483 ["yyy_get_post", "static", "aaa_post"],484 invoke(["routes", "-s", "rule"]).output,485 )486 match_order = [487 r.endpoint488 for r in app.url_map.iter_rules()489 if r.endpoint != "_automatic_options"490 ]486 match_order = [r.endpoint for r in app.url_map.iter_rules()]487 self.expect_order(match_order, invoke(["routes", "-s", "match"]).output)488489 def test_all_methods(self, invoke):490 output = invoke(["routes"]).output495 assert "HEAD" not in output496 assert "OPTIONS" not in output491 assert "GET, HEAD, OPTIONS, POST" not in output492493 output = invoke(["routes", "--all-methods"]).output494 assert "GET, HEAD, OPTIONS, POST" in output495
208 unmodified lines