Mercurial > hg > FileServer
diff tests/test.py @ 7:4d1852cfc077
rudimentary test for directory server
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 29 Feb 2012 14:48:53 -0800 (2012-02-29) |
parents | 623358c3ebde |
children | f00fcf6d9f1d |
line wrap: on
line diff
--- a/tests/test.py Wed Feb 29 14:44:04 2012 -0800 +++ b/tests/test.py Wed Feb 29 14:48:53 2012 -0800 @@ -22,8 +22,8 @@ doctest_args['optionflags'] = doctest.REPORT_ONLY_FIRST_FAILURE # gather tests - tests = [ test for test in os.listdir(directory) - if test.endswith('.txt') ] + tests = [test for test in os.listdir(directory) + if test.endswith('.txt')] # run the tests for test in tests: