##// END OF EJS Templates
pullbundle: fix handling of gzip bundlespecs...
pullbundle: fix handling of gzip bundlespecs Differential Revision: https://phab.mercurial-scm.org/D3933

File last commit:

r37138:a8a902d7 default
r38700:7e4a856a default
Show More
mockblackbox.py
15 lines | 369 B | text/x-python | PythonLexer
Robert Stanca
py3: use absolute_import in mockblackbox.py
r28943 from __future__ import absolute_import
Yuya Nishihara
procutil: bulk-replace function calls to point to new module
r37138 from mercurial.utils import (
procutil,
Robert Stanca
py3: use absolute_import in mockblackbox.py
r28943 )
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705
Boris Feld
devel: update blackbox to use default-date...
r32412 # XXX: we should probably offer a devel option to do this in blackbox directly
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705 def getuser():
Gregory Szorc
py3: use b'' in mockblackbox.py...
r36122 return b'bob'
timeless
tests: mock getpid to reduce glob usage...
r28028 def getpid():
return 5000
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705
# mock the date and user apis so the output is always the same
def uisetup(ui):
Yuya Nishihara
procutil: bulk-replace function calls to point to new module
r37138 procutil.getuser = getuser
procutil.getpid = getpid