Page MenuHomeSoftware Heritage

Rename files and classes in swh/deposit/api/deposit_* to be consistent with SWORD terminology.
ClosedPublic

Authored by vlorentz on Nov 18 2020, 11:10 AM.

Diff Detail

Unit TestsFailed

TimeTest
546 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.collection.test_collection::test_act_on_deposit_rejected_is_not_permitted
datadir = '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/api/collection/../data' @pytest.fixture
536 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.collection.test_collection::test_add_deposit_when_done_makes_new_deposit_with_parent_old_one
datadir = '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/api/collection/../data' @pytest.fixture
537 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.collection.test_collection::test_add_deposit_when_failed_makes_new_deposit_with_no_parent
datadir = '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/api/collection/../data' @pytest.fixture
529 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.collection.test_collection::test_add_deposit_when_partial_makes_new_deposit
datadir = '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/api/collection/../data' @pytest.fixture
467 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.collection.test_multipart::test_post_deposit_multipart_400_when_badly_formatted_xml
datadir = '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/api/collection/../data' @pytest.fixture
View Full Test Results (34 Failed · 175 Passed)

Event Timeline

Build is green

Patch application report for D4499 (id=15959)

Rebasing onto c1a45162d3...

Current branch diff-target is up to date.
Changes applied before test
commit 2cc3f33a7f284deb251c73740637acf290a4a902
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Nov 18 11:10:49 2020 +0100

    Rename files and classes in swh/deposit/api/deposit_* to be consistent with SWORD terminology.

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

ardumont requested changes to this revision.EditedNov 18 2020, 11:30 AM
ardumont added a subscriber: ardumont.

Please update the test files as well.
(That also needs a rebase).

This revision now requires changes to proceed.Nov 18 2020, 11:30 AM

rebase + rename test files.

Build has FAILED

Patch application report for D4499 (id=15964)

Rebasing onto a67ed6b06b...

Current branch diff-target is up to date.
Changes applied before test
commit d7f5a6f60ecff310675775c58be34a87d9b691a5
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Nov 18 11:10:49 2020 +0100

    Rename files and classes in swh/deposit/api/deposit_* to be consistent with SWORD terminology.

Link to build: https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/356/
See console output for more information: https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/356/console

meh, I can't use a subdir for the tests

Build is green

Patch application report for D4499 (id=15969)

Rebasing onto a67ed6b06b...

Current branch diff-target is up to date.
Changes applied before test
commit 329a2a3785ad8431fa7ec73fee31e86dbee36911
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Nov 18 11:10:49 2020 +0100

    Rename files and classes in swh/deposit/api/deposit_* to be consistent with SWORD terminology.

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

I'll assume it's fine.

I'm completely dusty on the sword v2 terms now.

This revision is now accepted and ready to land.Nov 18 2020, 2:30 PM

I'll assume it's fine.

I'm completely dusty on the sword v2 terms now.

just check names match the docstrings you wrote ;)

I'll assume it's fine.

I'm completely dusty on the sword v2 terms now.

just check names match the docstrings you wrote ;)

yes, that's what i did ;)