From 69281105ddb557d9be4f0224ee7e65eb44870143 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 31 Mar 2024 00:07:31 +0100 Subject: tests: Improve test XML readability Signed-off-by: Sebastian Pipping --- metagen/tests/test_meta.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/metagen/tests/test_meta.py b/metagen/tests/test_meta.py index e692eb5..be7afb0 100644 --- a/metagen/tests/test_meta.py +++ b/metagen/tests/test_meta.py @@ -14,14 +14,14 @@ class TestMyMetadata(unittest.TestCase): - \t - \t\tpythonhead@gentoo.org - \t\tRob Cakebread - \t\tMaintainer description. - \t + + pythonhead@gentoo.org + Rob Cakebread + Maintainer description. + """.strip("\n") - ) + ).replace(' ', '\t') metadata = MyMetadata() metadata.set_maintainer(["pythonhead@gentoo.org"], @@ -36,20 +36,20 @@ class TestMyMetadata(unittest.TestCase): - \t - \t\tgoofy@gentoo.org - \t\tGoo Fi - \t\tMaintainer one. - \t - \t - \t\tpythonhead@gentoo.org - \t\tRob Cakebread - \t\tMaintainer two - \t - \tThis packages does X Y and Z. + + goofy@gentoo.org + Goo Fi + Maintainer one. + + + pythonhead@gentoo.org + Rob Cakebread + Maintainer two + + This packages does X Y and Z. """.strip("\n") - ) + ).replace(' ', '\t') metadata = MyMetadata() metadata.set_maintainer(["goofy@gentoo.org", "pythonhead@gentoo.org"], -- cgit v1.2.3-65-gdbad