From d33d3663ecb166461d9cb5a78a29b44ee7a8fbb7 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 18 Feb 2016 13:03:40 +0100 Subject: combine projects --- pathod/templates/docs_test.html | 50 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pathod/templates/docs_test.html (limited to 'pathod/templates/docs_test.html') diff --git a/pathod/templates/docs_test.html b/pathod/templates/docs_test.html new file mode 100644 index 00000000..ecd84bc7 --- /dev/null +++ b/pathod/templates/docs_test.html @@ -0,0 +1,50 @@ +{% extends "docframe.html" %} {% block body %} + + +

The pathod.test 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. +

+ +

The canonical docs can be accessed using pydoc:

+ +
pydoc pathod.test
+ +

+ The remainder of this page demonstrates some common interaction patterns using + nose. These examples are + also applicable with only minor modification to most commonly used Python testing + engines. +

+ +
+ + + {% include "examples_context.html" %} +
+ +
+ + + {% include "examples_setup.html" %} +
+ +
+ + + {% include "examples_setupall.html" %} +
+{% endblock %} -- cgit v1.2.3