Page MenuHomeSoftware Heritage

D7212.diff
No OneTemporary

D7212.diff

diff --git a/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml b/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml
--- a/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml
+++ b/swh/deposit/tests/data/atom/entry-data-with-metadata-provenance.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<entry xmlns="http://www.w3.org/2005/Atom"
- xmlns:schema="https://schema.org/"
+ xmlns:schema="http://schema.org/"
xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit">
<title>Awesome stuff</title>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
diff --git a/swh/deposit/tests/test_utils.py b/swh/deposit/tests/test_utils.py
--- a/swh/deposit/tests/test_utils.py
+++ b/swh/deposit/tests/test_utils.py
@@ -113,7 +113,7 @@
def xml_swh_deposit_template():
xml_data = """<?xml version="1.0"?>
<entry xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"
- xmlns:schema="https://schema.org/">
+ xmlns:schema="http://schema.org/">
<swh:deposit>
{swh_deposit}
</swh:deposit>
diff --git a/swh/deposit/utils.py b/swh/deposit/utils.py
--- a/swh/deposit/utils.py
+++ b/swh/deposit/utils.py
@@ -24,7 +24,7 @@
"https://doi.org/10.5063/SCHEMA/CODEMETA-2.0": "codemeta",
"http://purl.org/net/sword/terms/": "sword",
"https://www.softwareheritage.org/schema/2018/deposit": "swh",
- "https://schema.org/": "schema",
+ "http://schema.org/": "schema",
}
data = xmltodict.parse(

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 2:03 AM (1 d, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216936

Event Timeline