7
test_files = [tf for tf in os.listdir('.') if tf.endswith('_test.py')]
15
test_files = list(set(test_files) - set(slow_tests))
17
#nose_command = 'nosetests -svx --with-coverage'.split()
18
#nose_command = 'nosetests -svx --pdb --pdb-failures'.split()
19
nose_command = 'nosetests -sv'.split()
21
subprocess.call(nose_command + test_files)
22
print 'Running slow tests'
23
subprocess.call(nose_command + slow_tests)
25
print 'For test coverage, use the nosetests coverage option and view results with'
26
print 'python-coverage report --omit=/usr/share'