lapapaye / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

Teardown code in test classes is never called #95

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The test classes in test/test.py all use def teardown(self): as the definition 
for the teardown functions. The problem is that the unittest API uses tearDown 
as the name, so those functions are never called, and the tests leave garbage 
folders behind in /tmp.

This commit in my github repository copy of parallel-ssh fixes the issue:

https://github.com/krig/parallel-ssh/commit/597cd3e0886d2b6921a72175eaad8f499e58
a441

Original issue reported on code.google.com by k...@koru.se on 9 Jan 2014 at 10:29