tests/mockblackbox.py
author Matt Harbison <matt_harbison@yahoo.com>
Mon, 20 Jul 2015 22:44:53 -0400
branchstable
changeset 25864 84074e4fc80f
parent 24705 0ead0a07ed9c
child 28028 ac49ecb2a897
permissions -rw-r--r--
test-clone: fix globs for Windows

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