tests/mockblackbox.py
changeset 32450 043948c84647
parent 28943 417380aa5bbe
child 36143 f49c3ee5b02f
--- a/tests/mockblackbox.py	Fri May 19 12:08:47 2017 +0200
+++ b/tests/mockblackbox.py	Tue May 16 18:36:08 2017 +0200
@@ -3,8 +3,7 @@
     util,
 )
 
-def makedate():
-    return 0, 0
+# XXX: we should probably offer a devel option to do this in blackbox directly
 def getuser():
     return 'bob'
 def getpid():
@@ -12,6 +11,5 @@
 
 # mock the date and user apis so the output is always the same
 def uisetup(ui):
-    util.makedate = makedate
     util.getuser = getuser
     util.getpid = getpid