HomeSoftware Heritage

test_api_client: stop leaking directories

Description

test_api_client: stop leaking directories

Summary: When mkdtemp is called, shutil.rmtree must be called as well

Test Plan:
Look at /tmp before and after running tests, notice no new
directories instead of 60.

Reviewers: Reviewers!

Differential Revision: https://forge.softwareheritage.org/D331

Details

Provenance
olasdAuthored on May 11 2018, 3:40 PM
olasdPushed on May 12 2018, 5:47 PM
Differential Revision
D331: test_api_client: stop leaking directories
Parents
rDSTO721d08840228: Add test to ensure storage/objstorage consistency is kept at all times
Branches
Unknown
Tags
Unknown