Page MenuHomeSoftware Heritage

tests: Simplify discovery_date comparison.
ClosedPublic

Authored by vlorentz on Mar 12 2021, 2:41 PM.

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D5238 (id=18776)

Could not rebase; Attempt merge onto 4353a323f6...

Updating 4353a323..5949c08c
Fast-forward
 swh/deposit/api/common.py                          |  49 +++++++++-
 swh/deposit/config.py                              |   1 +
 swh/deposit/tests/api/test_collection_post_atom.py | 106 +++++++++++++++++++--
 swh/deposit/tests/conftest.py                      |   1 +
 4 files changed, 146 insertions(+), 11 deletions(-)
Changes applied before test
commit 5949c08cbc3c29e7871fa5eae62cd37784daa5cf
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 12 14:22:58 2021 +0100

    tests: Simplify discovery_date comparison.

commit bb053c7bd51bbd393db9bde991dfa9ffa1e7e202
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Mar 11 17:29:12 2021 +0100

    Check a SWHID exists in the archive before accepting a metadata-only deposit

See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/565/ for more details.

This revision is now accepted and ready to land.Mar 12 2021, 3:47 PM

Build is green

Patch application report for D5238 (id=18805)

Rebasing onto c4972584f1...

Current branch diff-target is up to date.
Changes applied before test
commit 22d3f3ef906c162572881b6df87b82cc3d4032ae
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 12 14:22:58 2021 +0100

    tests: Simplify discovery_date comparison.

See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/573/ for more details.