lilydjwg / pssh

Parallel SSH Tools
Other
282 stars 64 forks source link

Teardown code in test classes is never called #95

Closed GoogleCodeExporter closed 4 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

jspricke commented 4 years ago

Fixed in e91fe360e0afd08c9ad81cd823f8a41239cde92e