]> git.ipfire.org Git - thirdparty/tornado.git/commit
Replace all assert statements in test code.
authorBen Darnell <ben@bendarnell.com>
Wed, 13 Jun 2012 17:42:14 +0000 (10:42 -0700)
committerBen Darnell <ben@bendarnell.com>
Wed, 13 Jun 2012 17:42:14 +0000 (10:42 -0700)
commit4c2306093c545cf3b534485206113d4b7626a21d
tree56c1ef7d107e695326fd4720da4711df6b155ea6
parenta303c01acfd0ed4656e8cff72c90e50880f14052
Replace all assert statements in test code.

Use self.assertFoo where TestCase instances are available, otherwise
raise an exception manually.
tornado/test/auth_test.py
tornado/test/gen_test.py
tornado/test/httpserver_test.py
tornado/test/iostream_test.py
tornado/test/process_test.py
tornado/test/simple_httpclient_test.py
tornado/test/twisted_test.py
tornado/test/web_test.py