# HG changeset patch # User Jeff Hammel # Date 1330576346 28800 # Node ID 058182b7b3099e4a0d3bf7abe18b3ef639b4bbf8 # Parent 486a4640fc319ac4f18cd0a86ee15d0e10324f27 note test-requires.txt in the readme diff -r 486a4640fc31 -r 058182b7b309 README.txt --- a/README.txt Wed Feb 29 20:25:19 2012 -0800 +++ b/README.txt Wed Feb 29 20:32:26 2012 -0800 @@ -1,8 +1,14 @@ simpypi ----------- +======= Simple pypi package +Running the Tests +----------------- + +``tests-require.txt`` contains dependencies that should be installed +to run the tests. + -- -http://k0s.org/mozilla/hg/simpypi \ No newline at end of file +http://k0s.org/mozilla/hg/simpypi diff -r 486a4640fc31 -r 058182b7b309 tests/doctest.txt --- 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)