tests/mockblackbox.py
author Wagner Bruna <wbruna@yahoo.com>
Thu, 23 Apr 2015 00:07:37 -0300
branchstable
changeset 24854 737b313af0c7
parent 24705 0ead0a07ed9c
child 28028 ac49ecb2a897
permissions -rw-r--r--
i18n-pt_BR: synchronized with 5947a68fa271

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