Mercurial > hgsubversion
annotate svnwrap/tests/__init__.py @ 309:9ad5cf45e30c
svnwrap/tests: use the subprocess module rather than the popen module.
The output from the command is supressed. Use check_call() to ensure
the detection of failures.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Sun, 03 May 2009 18:25:48 +0200 |
parents | 79b0e059319d |
children |
rev | line source |
---|---|
7
79b0e059319d
Reorganized the testing infrastructure a bit so that svnwrap is really separate from the rest of the project. Also made it easier to add more tests in the future without making the directory full of annoying files.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 import sys |
79b0e059319d
Reorganized the testing infrastructure a bit so that svnwrap is really separate from the rest of the project. Also made it easier to add more tests in the future without making the directory full of annoying files.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
2 import os |
79b0e059319d
Reorganized the testing infrastructure a bit so that svnwrap is really separate from the rest of the project. Also made it easier to add more tests in the future without making the directory full of annoying files.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) |