##// END OF EJS Templates
tests: move mock blackbox extension into own file...
tests: move mock blackbox extension into own file Having all blackbox log testing in test-blackbox.t isn't scalable. Move the mock blackbox extension into its own file so we can start to move blackbox logging into other tests.

File last commit:

r24705:0ead0a07 default
r24705:0ead0a07 default
Show More
mockblackbox.py
11 lines | 229 B | text/x-python | PythonLexer
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