class documentation
class ForeverHTTPBinTests(SynchronousTestCase): (source)
Tests for :py:func:`_forever_httpbin`
Method | assert |
Assert that firing ``description_deferred`` outputs the description but that ``forever_deferred`` never fires. |
Method | make |
A fake :py:func:`child._make_httpbin_site`. |
Method | output |
A fake :py:func:`child._output_process_description` |
Method | serve |
A fake :py:func:`child._serve_tcp`. |
Method | serve |
A fake :py:func:`child._serve_tls`. |
Method | set |
Undocumented |
Method | test |
The default command line arguments host ``httpbin`` on ``localhost`` and a randomly-assigned port, returning a :py:class:`Deferred` that never fires. |
Method | test |
The ``--host`` command line argument serves ``httpbin`` on provided host, returning a :py:class:`Deferred` that never fires. |
Method | test |
The ``--https`` command line argument serves ``httpbin`` over HTTPS, returning a :py:class:`Deferred` that never fires. |
Method | test |
The ``--port`` command line argument serves ``httpbin`` on the provided port, returning a :py:class:`Deferred` that never fires. |
Instance Variable | forever |
Undocumented |
Instance Variable | make |
Undocumented |
Instance Variable | output |
Undocumented |
Instance Variable | output |
Undocumented |
Instance Variable | reactor |
Undocumented |
Instance Variable | serve |
Undocumented |
Instance Variable | serve |
Undocumented |
Instance Variable | serve |
Undocumented |
Instance Variable | serve |
Undocumented |
Assert that firing ``description_deferred`` outputs the description but that ``forever_deferred`` never fires.
The default command line arguments host ``httpbin`` on ``localhost`` and a randomly-assigned port, returning a :py:class:`Deferred` that never fires.
The ``--host`` command line argument serves ``httpbin`` on provided host, returning a :py:class:`Deferred` that never fires.
The ``--https`` command line argument serves ``httpbin`` over HTTPS, returning a :py:class:`Deferred` that never fires.