Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teardown code in test classes is never called #95

Open
GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments
Open

Teardown code in test classes is never called #95

GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant