HomeSoftware Heritage

test_api_client: stop leaking directories
4a9b6236015dUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

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 28 2018, 3:14 PM
Differential Revision
D331: test_api_client: stop leaking directories
Parents
R65:721d08840228: Add test to ensure storage/objstorage consistency is kept at all times
Branches
Unknown
Tags
Unknown