view tests/test-doctest.py @ 11835:14db59e3b248 stable

convert: Test svn sink for a repo with tags. This test case backs the fix in changeset 7e5f5e5858f9. The subversion sink used to crash, if the source repo used tags.
author Daniel J. Lauk <daniel.lauk@gmail.com>
date Thu, 12 Aug 2010 11:15:33 +0200
parents 0f3c8a47960e
children b7fbf24c8a93 bb324910e40a
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.dagparser
doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)

import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)