Mercurial > hg
view tests/test-doctest.py @ 15336:83debcd7064b stable
largefiles: test interaction between largefiles and vanilla clients and servers
This reintroduces tests for the case described by issue3066, among others:
- vanilla clients and servers should still be able to talk to largefiles
clients and servers about vanilla repos
- vanilla clients should not attempt to clone largefiles repos over http and
should report a useful error message (issue3066; this appears to work
correctly)
- vanilla clients should not attempt to clone largefiles repos over ssh, again
with a useful error message
- largefiles clients should not attempt to push largefile changes to vanilla
servers
author | Andrew Pritchard <awpritchard@gmail.com> |
---|---|
date | Fri, 21 Oct 2011 15:09:33 -0500 |
parents | a773119f30ba |
children | d7bfbc92a1c0 |
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 doctest.testmod(mercurial.changelog) import mercurial.dagparser doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE) import mercurial.match doctest.testmod(mercurial.match) import mercurial.store doctest.testmod(mercurial.store) import mercurial.ui doctest.testmod(mercurial.ui) import mercurial.url doctest.testmod(mercurial.url) import mercurial.util doctest.testmod(mercurial.util) import mercurial.encoding doctest.testmod(mercurial.encoding) import mercurial.hgweb.hgwebdir_mod doctest.testmod(mercurial.hgweb.hgwebdir_mod) import hgext.convert.cvsps doctest.testmod(hgext.convert.cvsps) import mercurial.revset doctest.testmod(mercurial.revset)