tests/mockblackbox.py
author Mads Kiilerich <madski@unity3d.com>
Sun, 17 Jan 2016 19:29:27 +0100
changeset 27905 27f2f5c1d499
parent 24705 0ead0a07ed9c
child 28028 ac49ecb2a897
permissions -rw-r--r--
largefiles: actions will now always have a file - drop check

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