]> git.ipfire.org Git - thirdparty/tornado.git/commit
test: Extract "abstract" test logic into a decorator
authorBen Darnell <ben@bendarnell.com>
Thu, 11 Jul 2024 17:41:31 +0000 (13:41 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 11 Jul 2024 17:41:31 +0000 (13:41 -0400)
commit23a54a725f71c34657a54a1b4138656cfc834cb7
tree70f42728321f4a200b835b9fe1ee3d39c0c9fed6
parentb6b904636ab2d32e1c15caf3bd82be911d6880c4
test: Extract "abstract" test logic into a decorator

This makes the pattern reusable (and discoverable) for other tests.

Also exclude these skipped tests from the reporting that is meant
to highlight environmental issues.

This could potentially move to tornado.testing (or even upstream to
the stdlib) if it proves generally useful.
tornado/test/httpserver_test.py
tornado/test/runtests.py
tornado/test/util.py