view tests/mockblackbox.py @ 27026:c93b44b79359

test-resolve.t: remove completely unnecessary line I have no idea what I was thinking when I wrote this.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 18 Nov 2015 23:42:32 -0800
parents 0ead0a07ed9c
children ac49ecb2a897
line wrap: on
line source

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