diff --git a/swh/deposit/tests/api/test_checks.py b/swh/deposit/tests/api/test_checks.py
--- a/swh/deposit/tests/api/test_checks.py
+++ b/swh/deposit/tests/api/test_checks.py
@@ -24,22 +24,20 @@
XMLNS = """xmlns="http://www.w3.org/2005/Atom"
xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"
xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"
- xmlns:schema="http://schema.org/"
-"""
+ xmlns:schema="http://schema.org/" """
PROVENANCE_XML = """
some-metadata-provenance-url
-
-"""
+ """
_parameters1 = [
textwrap.dedent(metadata_ok)
for (metadata_ok,) in [
(
- f"""
+ f"""\
something
something-else
@@ -50,7 +48,7 @@
""",
),
(
- f"""
+ f"""\
something
something-else
@@ -61,7 +59,7 @@
""",
),
(
- f"""
+ f"""\
some url
bar
@@ -71,7 +69,7 @@
""",
),
(
- f"""
+ f"""\
some url
some id
@@ -112,7 +110,7 @@
(textwrap.dedent(metadata_ko), expected_summary)
for (metadata_ko, expected_summary) in [
(
- f"""
+ f"""\
something
something-else
@@ -126,7 +124,7 @@
},
),
(
- f"""
+ f"""\
something
something-else
@@ -140,7 +138,7 @@
},
),
(
- f"""
+ f"""\
something
something-else
@@ -155,7 +153,7 @@
},
),
(
- f"""
+ f"""\
something
something-else
@@ -188,7 +186,7 @@
},
),
(
- f"""
+ f"""\
something
something-else
@@ -221,7 +219,7 @@
(textwrap.dedent(metadata_ko), expected_summary)
for (metadata_ko, expected_summary) in [
(
- f"""
+ f"""\
some url
someid