view tests/__init__.py @ 91:7d10165cf3d9

tests: Mock the mercurial.ui.ui class like we really should to capture output. Has the nice side effect that we can use nose 0.11's multiprocess plugin.
author Augie Fackler <durin42@gmail.com>
date Fri, 14 Nov 2008 16:52:30 -0600
parents 79b0e059319d
children f423a8780832
line wrap: on
line source

import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(__file__)))