Mercurial > hgsubversion
diff tests/comprehensive/test_stupid_pull.py @ 766:124cd25de4ef
tests: fix running the comprehensive tests using nose.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Mon, 29 Nov 2010 11:53:57 +0100 |
parents | 58f397523604 |
children | 86d124a8768e |
line wrap: on
line diff
--- a/tests/comprehensive/test_stupid_pull.py +++ b/tests/comprehensive/test_stupid_pull.py @@ -1,5 +1,6 @@ import os import pickle +import sys import unittest from mercurial import hg @@ -10,7 +11,8 @@ from mercurial import ui try: import test_util except ImportError: - from tests import test_util + sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) + import test_util from hgsubversion import wrappers