Mercurial > hg
view tests/test-doctest.py @ 12273:e392d00ab5b0
incoming: move code from commands to cmdutil
This makes it easier to reuse it in a recursive fashion for subrepos.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 13 Sep 2010 13:09:30 +0200 |
parents | b7fbf24c8a93 |
children | 0f83a402faa0 |
line wrap: on
line source
# this is hack to make sure no escape characters are inserted into the output import os if 'TERM' in os.environ: del os.environ['TERM'] import doctest import mercurial.changelog # test doctest from changelog doctest.testmod(mercurial.changelog) import mercurial.httprepo doctest.testmod(mercurial.httprepo) import mercurial.util doctest.testmod(mercurial.util) import mercurial.match doctest.testmod(mercurial.match) import mercurial.dagparser doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE) import hgext.convert.cvsps doctest.testmod(hgext.convert.cvsps)