so that one can easily run tests for the revision or origin
layer only.
Depends on D8591
Differential D8592
Mark origin layer tests as "origin_layer" douardda on Sep 30 2022, 6:39 PM. Authored by Tags None Subscribers None
Details
so that one can easily run tests for the revision or origin Depends on D8591
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8592 (id=31022)Could not rebase; Attempt merge onto a2bcc8eace... Updating a2bcc8e..4f68403 Fast-forward requirements-swh.txt | 4 +- swh/provenance/__init__.py | 3 + swh/provenance/postgresql/provenance.py | 2 + swh/provenance/sql/30-schema.sql | 16 - swh/provenance/swhgraph/archive.py | 2 +- swh/provenance/tests/conftest.py | 100 ++- swh/provenance/tests/test_cli.py | 1 + swh/provenance/tests/test_history_graph.py | 1 + swh/provenance/tests/test_journal_client.py | 9 +- swh/provenance/tests/test_origin_iterator.py | 1 + swh/provenance/tests/test_origin_revision_layer.py | 1 + swh/provenance/tests/test_provenance_storage.py | 686 +++++++++++---------- .../tests/test_provenance_storage_rabbitmq.py | 38 ++ ...st_provenance_storage_with_path_denormalized.py | 19 + .../tests/test_provenance_storage_without_path.py | 19 + ...provenance_storage_without_path_denormalized.py | 19 + 16 files changed, 522 insertions(+), 399 deletions(-) create mode 100644 swh/provenance/tests/test_provenance_storage_rabbitmq.py create mode 100644 swh/provenance/tests/test_provenance_storage_with_path_denormalized.py create mode 100644 swh/provenance/tests/test_provenance_storage_without_path.py create mode 100644 swh/provenance/tests/test_provenance_storage_without_path_denormalized.py Changes applied before testcommit 4f68403fc102adfbb93ff7ab1952e94a75afd116 Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 21 15:26:46 2022 +0200 Mark origin layer tests as "origin_layer" so that one can easily run tests for the revision or origin layer only. commit 4148bf1a6685028f725d589cac456aa2e5cd346f Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 21 11:48:12 2022 +0200 Adapt postgresql backend to swh.core.db >= 2.0 commit ffb7812a088598e3ddaeddc7f9625ce3e6e80846 Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 21 10:58:29 2022 +0200 Upgrade to swh.graph 2.0 See https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/665/ for more details. Comment Actions Build is green Patch application report for D8592 (id=31036)Could not rebase; Attempt merge onto a2bcc8eace... Updating a2bcc8e..9a63bd8 Fast-forward requirements-swh.txt | 4 +- swh/provenance/__init__.py | 3 + swh/provenance/postgresql/provenance.py | 2 + swh/provenance/sql/30-schema.sql | 16 - swh/provenance/swhgraph/archive.py | 2 +- swh/provenance/tests/conftest.py | 100 ++- swh/provenance/tests/test_cli.py | 1 + swh/provenance/tests/test_history_graph.py | 1 + swh/provenance/tests/test_journal_client.py | 9 +- swh/provenance/tests/test_origin_iterator.py | 1 + swh/provenance/tests/test_origin_revision_layer.py | 1 + swh/provenance/tests/test_provenance_storage.py | 686 +++++++++++---------- .../tests/test_provenance_storage_rabbitmq.py | 38 ++ ...st_provenance_storage_with_path_denormalized.py | 19 + .../tests/test_provenance_storage_without_path.py | 19 + ...provenance_storage_without_path_denormalized.py | 19 + 16 files changed, 522 insertions(+), 399 deletions(-) create mode 100644 swh/provenance/tests/test_provenance_storage_rabbitmq.py create mode 100644 swh/provenance/tests/test_provenance_storage_with_path_denormalized.py create mode 100644 swh/provenance/tests/test_provenance_storage_without_path.py create mode 100644 swh/provenance/tests/test_provenance_storage_without_path_denormalized.py Changes applied before testcommit 9a63bd8164afcf1d4f733736c60e6cc0012f65bb Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 21 15:26:46 2022 +0200 Mark origin layer tests as "origin_layer" so that one can easily run tests for the revision or origin layer only. commit 67cd713b6aca7065e43efe68c66a3bae90fa99db Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 21 11:48:12 2022 +0200 Adapt postgresql backend to swh.core.db >= 2.0 commit bb0574c29f91471d39ab5f3d72959c6174c52738 Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 21 10:58:29 2022 +0200 Upgrade to swh.graph 2.0 See https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/669/ for more details. |