diff --git a/testing/registrar_test.py b/testing/registrar_test.py index d6ef1c9043ff550357163a9d55ee701a2212b309..54bc3108fc0164c0e62b700c2e62b887650f7435 100644 --- a/testing/registrar_test.py +++ b/testing/registrar_test.py @@ -57,7 +57,7 @@ def compare_links(sftp, product_xml, product): xml_file= report.read() - root = ElementTree.fromstring(xml_file.decode('utf-8')) + root = ElementTree.fromstring(xml_file.decode('utf-8').strip()) urls = root.findall('{http://www.telespazio.com/CSCDA/CDD/PDAS}URL') wms_link = urls[0].find('{http://www.telespazio.com/CSCDA/CDD/PDAS}URL').text