Page MenuHomeSoftware Heritage

Merge id/url tests using an arg provided by hypothesis.
ClosedPublic

Authored by vlorentz on Jun 28 2019, 8:50 PM.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert added a subscriber: anlambert.

Looks good to me.

swh/storage/tests/test_storage.py
1573

Just a nitpick: I would use an origin variable here instead of duplicating the if else instruction

2779

Same here.

This revision is now accepted and ready to land.Jul 1 2019, 2:59 PM

use variable instead of ternary

This revision was landed with ongoing or failed builds.Jul 1 2019, 3:52 PM
This revision was automatically updated to reflect the committed changes.