diff options
| author | Aldo Cortesi <aldo@corte.si> | 2016-02-17 10:35:41 +1300 |
|---|---|---|
| committer | Aldo Cortesi <aldo@corte.si> | 2016-02-17 10:35:41 +1300 |
| commit | 887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d (patch) | |
| tree | 4c3b4f9cc555a945ddbeeb1b179070ef98b2eeff /pathod/libpathod/templates/docs_test.html | |
| parent | ef8e95956d938fd4891d79fdbfa83f8a77a482cb (diff) | |
| parent | b87797ea255a0e2058e0574a5a00150f7f2df5db (diff) | |
| download | mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.tar.gz mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.tar.bz2 mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.zip | |
Merge pull request #950 from Kriechi/rename
Rename lib folders
Diffstat (limited to 'pathod/libpathod/templates/docs_test.html')
| -rw-r--r-- | pathod/libpathod/templates/docs_test.html | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/pathod/libpathod/templates/docs_test.html b/pathod/libpathod/templates/docs_test.html deleted file mode 100644 index 0502c984..00000000 --- a/pathod/libpathod/templates/docs_test.html +++ /dev/null @@ -1,50 +0,0 @@ -{% extends "docframe.html" %} {% block body %} -<div class="page-header"> - <h1> - libpathod.test - <small>Using libpathod in unit tests.</small> - </h1> -</div> - -<p>The <b>libpathod.test</b> module is a light, flexible testing layer for HTTP clients. - It works by firing up a Pathod instance in a separate thread, letting you use - Pathod's full abilities to generate responses, and then query Pathod's internal - logs to establish what happened. All the mechanics of startup, shutdown, finding - free ports and so forth are taken care of for you. -</p> - -<p>The canonical docs can be accessed using pydoc: </p> - -<pre class="terminal">pydoc libpathod.test</pre> - -<p> - The remainder of this page demonstrates some common interaction patterns using - <a href="http://nose.readthedocs.org/en/latest/">nose</a>. These examples are - also applicable with only minor modification to most commonly used Python testing - engines. -</p> - -<section> - <div class="page-header"> - <h1>Context Manager</h1> - </div> - - {% include "examples_context.html" %} -</section> - -<section> - <div class="page-header"> - <h1>One instance per test</h1> - </div> - - {% include "examples_setup.html" %} -</section> - -<section> - <div class="page-header"> - <h1>One instance per suite</h1> - </div> - - {% include "examples_setupall.html" %} -</section> -{% endblock %} |
