annotate 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 f423a8780832
children 5dc8fee7fc96
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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(__file__)))
303
f423a8780832 Minor tweaks to how the tests are run.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 7
diff changeset
4
f423a8780832 Minor tweaks to how the tests are run.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 7
diff changeset
5 from run import *