diff tests/doctest.txt @ 33:058182b7b309

note test-requires.txt in the readme
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 29 Feb 2012 20:32:26 -0800
parents 15c7171941ea
children a02d08627d9c
line wrap: on
line diff
--- a/tests/doctest.txt	Wed Feb 29 20:25:19 2012 -0800
+++ b/tests/doctest.txt	Wed Feb 29 20:32:26 2012 -0800
@@ -3,5 +3,16 @@
 
 The obligatory imports::
 
+    >>> import os
     >>> import simpypi
+    >>> from paste.fixture import TestApp
 
+The directory is initially empty::
+
+    >>> os.listdir(directory)
+    []
+
+Make a test application::
+
+    >>> app = simpypi.SimPyPI(directory)
+    >>> testapp = TestApp(app)