comparison tests/comprehensive/test_stupid_pull.py @ 613:58f397523604

testrunner: delay and `simplify' importing of tests
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 14 May 2010 20:26:06 +0200
parents 1fd3cfa47c5e
children 124cd25de4ef
comparison
equal deleted inserted replaced
612:2c15e4c50a54 613:58f397523604
3 import unittest 3 import unittest
4 4
5 from mercurial import hg 5 from mercurial import hg
6 from mercurial import ui 6 from mercurial import ui
7 7
8 from tests import test_util 8 # wrapped in a try/except because of weirdness in how
9 # run.py works as compared to nose.
10 try:
11 import test_util
12 except ImportError:
13 from tests import test_util
14
9 from hgsubversion import wrappers 15 from hgsubversion import wrappers
10 16
11 17
12 def _do_case(self, name, layout): 18 def _do_case(self, name, layout):
13 subdir = test_util.subdir.get(name, '') 19 subdir = test_util.subdir.get(name, '')