Created
May 16, 2011 02:17
-
-
Save abg/973807 to your computer and use it in GitHub Desktop.
holland test_runner.py patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/test_runner.py | |
+++ b/test_runner.py | |
@@ -112,12 +112,13 @@ class TestRunner(object): | |
os.chdir(path) | |
if self.report: | |
args = [ | |
- self.nosetests, | |
+ 'python', | |
+ 'setup.py', | |
+ 'nosetests', | |
'--with-coverage', | |
'--cover-erase', | |
'-v', | |
'--with-xunit', | |
- os.path.join(path, 'tests'), | |
] | |
else: | |
args = [ | |
@@ -214,4 +215,4 @@ def main(args=None): | |
runner.run() | |
if __name__ == '__main__': | |
- main(sys.argv) | |
\ No newline at end of file | |
+ main(sys.argv) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment