A class which keeps track of temporary files and removes them automatically when they're not needed anymore might be a good idea, but this implementation didn't remove files in some cases. Adding unrelated methods that could as well be just standalone functions is bad design, too. In this case, it's better to just get rid of it altogether instead of fixing it, since Python 3 has a TemporaryDirectory class, which can be used for the same purpose and is definitely more battle-tested. |
||
|---|---|---|
| .. | ||
| assets | ||
| helpers | ||
| collection_test_base.py | ||
| sync_app_functional_test_base.py | ||
| test_sync_app.py | ||
| test_users.py | ||
| test_web_hostkey.py | ||
| test_web_media.py | ||