]> git.ipfire.org Git - thirdparty/tornado.git/commit
Tie the example for AsyncHTTPTestCase to real code. 1456/head
authorGreg Ward <greg@gerg.ca>
Sun, 21 Jun 2015 14:29:45 +0000 (10:29 -0400)
committerGreg Ward <greg@gerg.ca>
Sun, 21 Jun 2015 14:29:45 +0000 (10:29 -0400)
commit41c5f6646f6bddc3afe035f8f8ae31c19f3c91b2
tree34c82b8ba2544b661f5ae0214a032f0ea93a9aec
parent177e03415a2f73ffb1691c0eaaa2ced94c0ae8b8
Tie the example for AsyncHTTPTestCase to real code.

Now all the reader has to do is copy one of the "Hello, world"
examples to hello.py, copy the test example to test_hello.py, import
AsyncHTTPTestCase, and run the test. It's still not entirely seamless
and idiot-proof, but it's progress!

Of note: the example test can now actually assert things about the
response it receives.
tornado/testing.py