Page MenuHomeSoftware Heritage

tests.utils: Test from modules using this need to call close method
ClosedPublic

Authored by ardumont on Mar 27 2020, 9:46 AM.

Details

Summary

This allows the clients to be written properly and their tests to pass.

To allow to write properly the swh.search client journal (which needs to call close when done).
and its test to pass.

Related to D2897

Depends on D2898

Test Plan

tox

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mar 27 2020, 9:57 AM