Correctly initialize directory for run_tests.py
This commit is contained in:
parent
ff07b4bce0
commit
a606f3cd9a
1 changed files with 3 additions and 2 deletions
|
@ -63,8 +63,9 @@ def main():
|
|||
# 3 * '-v' gets us debugging information from nose
|
||||
argv.append('-v')
|
||||
argv.append('-v')
|
||||
|
||||
argv.extend(['-w','./tests/python_tests'])
|
||||
|
||||
dirname = os.path.dirname(sys.argv[0])
|
||||
argv.extend(['-w', dirname+'/python_tests'])
|
||||
|
||||
if not nose.run(argv=argv, plugins=[TodoPlugin(), Doctest()]):
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue