diff tests/test_ttw.txt @ 61:53ec5144f84f

start serving PyPI
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 01 Mar 2012 15:59:18 -0800
parents 46f5fd27ee54
children 7c154953acc4
line wrap: on
line diff
--- a/tests/test_ttw.txt	Thu Mar 01 15:45:39 2012 -0800
+++ b/tests/test_ttw.txt	Thu Mar 01 15:59:18 2012 -0800
@@ -10,3 +10,12 @@
 Create a WSGI app::
 
     >>> app = factory(directory=directory)
+
+Now wrap it in a server::
+
+    >>> server = testserver(app, 'localhost', 64321)
+    >>> server.start()
+
+Shut down the server::
+
+    >>> server.stop()