comparison README.txt @ 27:41bd126ab77d

note test status
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Mar 2012 13:23:05 -0800
parents 3ce9fe38f5e1
children aca8cb6bfd63
comparison
equal deleted inserted replaced
26:395c6744bcd9 27:41bd126ab77d
40 40
41 In addition there is a command line script, ``serve``, which may be 41 In addition there is a command line script, ``serve``, which may be
42 used to serve a directory with the 42 used to serve a directory with the
43 `wsgiref <http://docs.python.org/library/wsgiref.html>`_ server. 43 `wsgiref <http://docs.python.org/library/wsgiref.html>`_ server.
44 44
45 Tests
46 -----
47
48 doctests and a test runner, ``test.py``, exist in the ``tests/``
49 subdirectory of http://k0s.org/hg/FileServer . I currently use
50 ``paste.fixture.TestApp`` to mock requests and inspect responses, but
51 should probably move to
52 `WebTest <http://webtest.pythonpaste.org/en/latest/index.html>`_ .
53
45 Other Projects 54 Other Projects
46 -------------- 55 --------------
47 56
48 While I didn't find them suitable for my use, there are other 57 While I didn't find them suitable for my use, there are other
49 standalone static fileservers available for python: 58 standalone static fileservers available for python: