dijit / parallel-ssh

PSSH provides parallel versions of OpenSSH and related tools. Included are pssh, pscp, prsync, pnuke, and pslurp. The project includes psshlib which can be used within custom applications.
Other
0 stars 0 forks source link

Teardown code in test classes is never called #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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