Mercurial > hg > WSGraph
changeset 29:2e4ed8e0a103
passing pretend tests
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 13 Dec 2012 18:05:39 -0800 |
parents | 4bed1424bb3f |
children | 2fe3933f8eca |
files | tests/doctest.txt tests/test.py |
diffstat | 2 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/doctest.txt Wed Dec 12 18:58:08 2012 -0800 +++ b/tests/doctest.txt Thu Dec 13 18:05:39 2012 -0800 @@ -3,5 +3,5 @@ The obligatory imports: - >>> import wsgraph.model import MemoryCache + >>> from wsgraph.model import MemoryCache
--- a/tests/test.py Wed Dec 12 18:58:08 2012 -0800 +++ b/tests/test.py Thu Dec 13 18:05:39 2012 -0800 @@ -19,9 +19,6 @@ directory = os.path.dirname(os.path.abspath(__file__)) extraglobs = {'here': directory} doctest_args = dict(extraglobs=extraglobs, raise_on_error=raise_on_error) - doctest_args['optionsflags'] = doctest.ELLIPSIS - if report_first: - doctest_args['optionflags'] |= doctest.REPORT_ONLY_FIRST_FAILURE # gather tests tests = [test for test in os.listdir(directory)