Mercurial > hg > simpypi
changeset 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 | 486a4640fc31 |
children | ab52f46a3682 |
files | README.txt tests/doctest.txt |
diffstat | 2 files changed, 19 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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)