Mercurial > hg > simpypi
comparison tests/test.py @ 57:6bfe6c59b64a
add documentation and correct capitalization
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 01 Mar 2012 15:35:47 -0800 |
parents | 2e60fb704454 |
children | cd88f80d1ab1 |
comparison
equal
deleted
inserted
replaced
56:2e60fb704454 | 57:6bfe6c59b64a |
---|---|
29 | 29 |
30 # doctest arguments | 30 # doctest arguments |
31 directory = os.path.dirname(os.path.abspath(__file__)) | 31 directory = os.path.dirname(os.path.abspath(__file__)) |
32 extraglobs = {'here': directory, | 32 extraglobs = {'here': directory, |
33 'create_virtualenv': create_virtualenv, | 33 'create_virtualenv': create_virtualenv, |
34 'server': testserver.TestWSGIserver } | 34 'server': testserver.TestWSGIServer } |
35 doctest_args = dict(extraglobs=extraglobs, raise_on_error=raise_on_error) | 35 doctest_args = dict(extraglobs=extraglobs, raise_on_error=raise_on_error) |
36 if report_first: | 36 if report_first: |
37 doctest_args['optionflags'] = doctest.REPORT_ONLY_FIRST_FAILURE | 37 doctest_args['optionflags'] = doctest.REPORT_ONLY_FIRST_FAILURE |
38 | 38 |
39 # gather tests | 39 # gather tests |