test_api_client: stop leaking directories
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.
Migrated from D331 (view on Phabricator)
Staging instance, all changes can be removed at any time
When mkdtemp is called, shutil.rmtree must be called as well
Look at /tmp before and after running tests, notice no new directories instead of 60.
Migrated from D331 (view on Phabricator)