mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
bc524f4cd2
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.
12 lines
229 B
Python
12 lines
229 B
Python
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
|