Mercurial > hgsubversion
comparison tests/run.py @ 615:edd112855189
tests/run.py: make sure our hgsubversion loads correctly
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 18 May 2010 14:46:50 -0500 |
parents | 4f6017ba4d3d |
children | c38fe89a5cbc |
comparison
equal
deleted
inserted
replaced
614:4f6017ba4d3d | 615:edd112855189 |
---|---|
60 if options.verbose: | 60 if options.verbose: |
61 testargs = { 'descriptions': 3, 'verbosity': 2 } | 61 testargs = { 'descriptions': 3, 'verbosity': 2 } |
62 else: | 62 else: |
63 testargs = {'descriptions': 2} | 63 testargs = {'descriptions': 2} |
64 | 64 |
65 # make sure our copy of hgsubversion gets imported | |
66 sys.path.append(os.path.dirname(os.path.dirname(__file__))) | |
67 | |
65 if options.demandimport: | 68 if options.demandimport: |
66 from mercurial import demandimport | 69 from mercurial import demandimport |
67 demandimport.enable() | 70 demandimport.enable() |
68 | 71 |
69 # silence output when running outside nose | 72 # silence output when running outside nose |