view 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 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)