comparison tests/test.py @ 61:53ec5144f84f

start serving PyPI
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 01 Mar 2012 15:59:18 -0800
parents cd88f80d1ab1
children af1476a936fc
comparison
equal deleted inserted replaced
60:46f5fd27ee54 61:53ec5144f84f
33 33
34 # doctest arguments 34 # doctest arguments
35 directory = os.path.dirname(os.path.abspath(__file__)) 35 directory = os.path.dirname(os.path.abspath(__file__))
36 extraglobs = {'here': directory, 36 extraglobs = {'here': directory,
37 'create_virtualenv': create_virtualenv, 37 'create_virtualenv': create_virtualenv,
38 'server': testserver.TestWSGIServer } 38 'testserver': testserver.TestWSGIServer }
39 doctest_args = dict(extraglobs=extraglobs, raise_on_error=raise_on_error) 39 doctest_args = dict(extraglobs=extraglobs, raise_on_error=raise_on_error)
40 if report_first: 40 if report_first:
41 doctest_args['optionflags'] = doctest.REPORT_ONLY_FIRST_FAILURE 41 doctest_args['optionflags'] = doctest.REPORT_ONLY_FIRST_FAILURE
42 42
43 # gather tests 43 # gather tests