tests/mockblackbox.py
changeset 28028 ac49ecb2a897
parent 24705 0ead0a07ed9c
child 28943 417380aa5bbe
--- a/tests/mockblackbox.py	Wed Feb 03 09:11:22 2016 +0000
+++ b/tests/mockblackbox.py	Wed Feb 03 04:37:04 2016 +0000
@@ -4,8 +4,11 @@
     return 0, 0
 def getuser():
     return 'bob'
+def getpid():
+    return 5000
 
 # 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