diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-05 15:33:31 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-05 15:33:31 +0200 |
| commit | a084e7f30eab4e9cb0dcffb01b4602bfdb6405ee (patch) | |
| tree | 1558631d5d555ce9ec54f8119250abd85ba8adf2 /psutil/tests/runner.py | |
| parent | acfe6b2bba2dee5e9ab19335dd22cc31d6092553 (diff) | |
| download | psutil-a084e7f30eab4e9cb0dcffb01b4602bfdb6405ee.tar.gz | |
add hack to make unittest print full test paths; also remove nose as a dep
Diffstat (limited to 'psutil/tests/runner.py')
| -rwxr-xr-x | psutil/tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/psutil/tests/runner.py b/psutil/tests/runner.py index c4dd88b3..1c282f68 100755 --- a/psutil/tests/runner.py +++ b/psutil/tests/runner.py @@ -19,6 +19,8 @@ testmodules = [os.path.splitext(x)[0] for x in os.listdir(HERE) x.startswith('test_memory_leaks')] suite = unittest.TestSuite() for tm in testmodules: + # ...so that "make test" will print the full test paths + tm = "psutil.tests.%s" % tm suite.addTest(unittest.defaultTestLoader.loadTestsFromName(tm)) result = unittest.TextTestRunner(verbosity=VERBOSITY).run(suite) success = result.wasSuccessful() |
