##// END OF EJS Templates
test-debian-packages: new test for testing construction of debian packages
test-debian-packages: new test for testing construction of debian packages

File last commit:

r24705:0ead0a07 default
r26147:a02c22e4 default
Show More
mockblackbox.py
11 lines | 229 B | text/x-python | PythonLexer
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705 from mercurial import util
def makedate():
return 0, 0
def getuser():
return 'bob'
# mock the date and user apis so the output is always the same
def uisetup(ui):
util.makedate = makedate
util.getuser = getuser