From 57b66586001d67d76166dd389d4a9285e4d2ed3e Mon Sep 17 00:00:00 2001 From: Mazztok45 Date: Fri, 6 Dec 2024 10:34:37 +0100 Subject: [PATCH] Update test_software_metadata.py by replace plain.xml with plain_with_references.xml --- test/test_software_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_software_metadata.py b/test/test_software_metadata.py index 897b9d20..674e4e8e 100644 --- a/test/test_software_metadata.py +++ b/test/test_software_metadata.py @@ -14,7 +14,7 @@ def test_similarity(self): real_string = getAsXml.final_xml2(API_SOURCE, '')[0]['2'] real_string = [line for line in real_string.splitlines() if line.strip() != ''] real_string = '\n'.join(real_string) - ref_location = os.path.join(os.path.dirname(__file__), 'data/software/plain.xml') + ref_location = os.path.join(os.path.dirname(__file__), 'data/software/plain_with_references.xml') with open(ref_location) as f: expected_string = f.read()