Mercurial > hg > simpypi
view tests/doctest.txt @ 34:ab52f46a3682
remove cruft
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 01 Mar 2012 08:45:13 -0800 |
parents | 058182b7b309 |
children | a02d08627d9c |
line wrap: on
line source
Test simpypi ============ 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)