##// END OF EJS Templates
store: add some doctests
store: add some doctests

File last commit:

r13949:ba43aa1e default
r13949:ba43aa1e default
Show More
test-doctest.py
32 lines | 760 B | text/x-python | PythonLexer
Mads Kiilerich
tests: fix readline escape characters in output for test-doctest.py
r7041 # this is hack to make sure no escape characters are inserted into the output
Matt Mackall
fix up a bunch of check-code warnings
r10413 import os
Patrick Mezard
test-doctest: remove TERM env variable only if it's there
r7078 if 'TERM' in os.environ:
Dirkjan Ochtman
clean up trailing spaces
r7184 del os.environ['TERM']
Benoit Boissinot
[extendedchangelog] encode/decode function...
r3232 import doctest
import mercurial.changelog
doctest.testmod(mercurial.changelog)
Peter Arrenbrecht
dagparser: parses and formats DAGs as concise text...
r11335 import mercurial.dagparser
Peter Arrenbrecht
debugbuilddag: build a changelog dag from a concise description...
r11337 doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
Peter Arrenbrecht
dagparser: parses and formats DAGs as concise text...
r11335
Martin Geisler
match: add narrowmatcher class...
r12165 import mercurial.match
doctest.testmod(mercurial.match)
Adrian Buehlmann
store: add some doctests
r13949 import mercurial.store
doctest.testmod(mercurial.store)
Mads Kiilerich
test-doctest: test the modules that contains doctests
r12594 import mercurial.url
doctest.testmod(mercurial.url)
Matt Mackall
date: fix matching of underspecified date ranges...
r13212 import mercurial.util
doctest.testmod(mercurial.util)
Matt Mackall
encoding: add localstr class to track UTF-8 version of transcoded strings...
r13046 import mercurial.encoding
doctest.testmod(mercurial.encoding)
Mads Kiilerich
test-doctest: test the modules that contains doctests
r12594
Mads Kiilerich
hgweb: doctest of url creation from wildcard expansion
r13402 import mercurial.hgweb.hgwebdir_mod
doctest.testmod(mercurial.hgweb.hgwebdir_mod)
Patrick Mezard
convert: fix builtin cvsps under Windows...
r7097 import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)