Page MenuHomeSoftware Heritage

D8695.diff
No OneTemporary

D8695.diff

diff --git a/swh/provenance/tests/test_journal_client.py b/swh/provenance/tests/test_journal_client.py
--- a/swh/provenance/tests/test_journal_client.py
+++ b/swh/provenance/tests/test_journal_client.py
@@ -70,8 +70,8 @@
}
# call the cli 'swh provenance origin from-journal'
- result = invoke(["origin", "from-journal"], config=cfg)
- assert result.exit_code == 0, f"Unexpected result: {result.output}"
+ cli_result = invoke(["origin", "from-journal"], config=cfg)
+ assert cli_result.exit_code == 0, f"Unexpected result: {cli_result.output}"
origin_sha1 = MultiHash.from_data(
origin_url.encode(), hash_names=["sha1"]
@@ -127,7 +127,7 @@
# call the cli 'swh provenance revision from-journal'
cli_result = invoke(["revision", "from-journal"], config=cfg)
- assert cli_result.exit_code == 0, f"Unexpected result: {result.output}"
+ assert cli_result.exit_code == 0, f"Unexpected result: {cli_result.output}"
result = provenance.storage.revision_get(revisions)

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 7:03 AM (9 h, 56 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216916

Event Timeline