Tornado 6.4 Documentation
Future objects • tornado.log — Logging support ☐ tornado.options — Command-line parsing • tornado.testing — Unit testing support for asynchronous code ○ tornado.util — General-purpose utilities • Frequently OptionParser.as dict(). - OptionParser.groups(). - OptionParser.group dict(). - tornado.testing — Unit testing support for asynchronous code Asynchronous test cases - AsyncTestCase Application( handlers, **options.group_dict('application')) New in version 3.1. # tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. •AsyncTestCase0 码力 | 432 页 | 402.58 KB | 2 年前3
Tornado 6.2 Documentation
handlers, **options.group_dict('application')) New in version 3.1. ##### 6.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.web_test See the standard library unittest module for ways in which tests can be • TCPServer.listen now supports more arguments to pass through to netutil.bind_sockets. ### tornado.testing • bind_unused_port now takes an optional address argument. • Wrapped test methods now include0 码力 | 260 页 | 1.06 MB | 2 年前3
Tornado 4.5 Documentation
Command-line parsing • tornado.stack_context — Exception handling across asynchronous callbacks ○ tornado.testing — Unit testing support for asynchronous code ☐ tornado.util — General-purpose utilities • Frequently OptionParser class • tornado.stack context — Exception handling across asynchronous callbacks • tornado.testing — Unit testing support for asynchronous code • Asynchronous test cases • Controlling log output yield run_with_stack_context(StackContext(ctx), other_coroutine) New in version 3.1. # tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. •AsyncTestCase0 码力 | 333 页 | 322.34 KB | 2 年前3
Tornado 6.1 Documentation
handlers, **options.group_dict('application')) New in version 3.1. ##### 6.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.web_test See the standard library unittest module for ways in which tests can be main thread) #### tornado.platform.auto • The set_close_exec function has been removed. ### tornado.testing • ExpectLog now has a level argument to ensure that the given log level is enabled. ### tornado0 码力 | 245 页 | 904.24 KB | 2 年前3
Tornado 6.4 Documentation
handlers, **options.group_dict('application')) New in version 3.1. ##### 6.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.web_test See the standard library unittest module for ways in which tests can be • TCPServer.listen now supports more arguments to pass through to netutil.bind_sockets. ### tornado.testing • bind_unused_port now takes an optional address argument. • Wrapped test methods now include0 码力 | 268 页 | 1.09 MB | 2 年前3
Tornado 6.4 Documentation
handlers, **options.group_dict('application')) New in version 3.1. ##### 6.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.web_test See the standard library unittest module for ways in which tests can be • TCPServer.listen now supports more arguments to pass through to netutil.bind_sockets. ### tornado.testing • bind_unused_port now takes an optional address argument. • Wrapped test methods now include0 码力 | 268 页 | 1.09 MB | 2 年前3
Tornado 6.4 Documentation
handlers, **options.group_dict('application')) New in version 3.1. ##### 6.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.web_test See the standard library unittest module for ways in which tests can be • TCPServer.listen now supports more arguments to pass through to netutil.bind_sockets. ### tornado.testing • bind_unused_port now takes an optional address argument. • Wrapped test methods now include0 码力 | 268 页 | 1.09 MB | 2 年前3
Tornado 6.3 Documentation
handlers, **options.group_dict('application')) New in version 3.1. ##### 6.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.web_test See the standard library unittest module for ways in which tests can be • TCPServer.listen now supports more arguments to pass through to netutil.bind_sockets. ### tornado.testing • bind_unused_port now takes an optional address argument. • Wrapped test methods now include0 码力 | 264 页 | 1.06 MB | 2 年前3
Tornado 6.5 Documentationapplication = Application( handlers, **options.group_dict('application')) Added in version 3.1. 6.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase can run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.web_test See the standard library unittest module for ways in which tests can be carriage return characters in HTTP headers. It had previously prohibited only linefeed characters. tornado.testing • AsyncTestCase subclasses can now be instantiated without being associated with a test method0 码力 | 272 页 | 1.12 MB | 10 月前3
Tornado 4.5 Documentation
run_with_stack_context(StackContext(ctx), other_coroutine) New in version 3.1. ##### 4.7.5 tornado.testing — Unit testing support for asynchronous code Support classes for automated testing. • AsyncTestCase run with any test runner. The easiest way to run a test is via the command line: python -m tornado.testing tornado.test.stack_context_test See the standard library unittest module for ways in which tests • Duplicate option names are now detected properly whether they use hyphens or underscores. tornado.testing • AsyncHTTPTestCase.fetch now uses 127.0.0.1 instead of localhost, improving compatibility with0 码力 | 222 页 | 833.04 KB | 2 年前3
共 20 条
- 1
- 2
相关搜索词
tornado.httpclienttornado.iolooptornado.tcpclienttornado.webtornado.testingTornado框架异步网络库HTTP服务器WebSocket协议WSGI支持tornado.httpservertornado.iostreamtornado.concurrenttornado.websocketTornadoPython Web FrameworkAsynchronous NetworkingHTTP ServerCoroutine LibraryWeb框架非阻塞I/O长轮询WebSocket事件循环高并发连接WSGI兼容性Python 3.8异步HTTP客户端模块改进新功能长连接协程













