]> git.ipfire.org Git - thirdparty/tornado.git/commit
Refactor tornado.options to make it testable.
authorBen Darnell <ben@bendarnell.com>
Mon, 7 May 2012 05:46:53 +0000 (22:46 -0700)
committerBen Darnell <ben@bendarnell.com>
Mon, 7 May 2012 05:46:53 +0000 (22:46 -0700)
commita548ab670b6dce5ac6f42dca0acf1c2d58e5d001
tree40edc85128f6d48674255a955c9ad5acb9bf52e8
parent625c6e052faa7bf7ec8b0bac14c240801c5d5f6a
Refactor tornado.options to make it testable.

Now most code is in methods of the _Options class, and it is possible
to create isolated instances of that class.  The test is pretty
rudimentary, but it's a start.
tornado/options.py
tornado/test/options_test.py [new file with mode: 0644]
tornado/test/runtests.py
website/sphinx/options.rst