##// END OF EJS Templates
run-tests: add support for automatically bisecting test failures
run-tests: add support for automatically bisecting test failures

File last commit:

r28028:ac49ecb2 default
r28596:99499506 default
Show More
mockblackbox.py
14 lines | 284 B | text/x-python | PythonLexer
from mercurial import util
def makedate():
return 0, 0
def getuser():
return 'bob'
def getpid():
return 5000
# mock the date and user apis so the output is always the same
def uisetup(ui):
util.makedate = makedate
util.getuser = getuser
util.getpid = getpid