Skip to content

Instantly share code, notes, and snippets.

@abg
Created May 16, 2011 02:17
Show Gist options
  • Save abg/973807 to your computer and use it in GitHub Desktop.
Save abg/973807 to your computer and use it in GitHub Desktop.
holland test_runner.py patch
--- 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