From 8f8f6f1a1a81f3e67d6717657900761161f5ae14 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 14 Apr 2026 16:49:09 +0000 Subject: [PATCH] =?UTF-8?q?More=20complicated=20XML=20test=20=F0=9F=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ecmk_fetcher/tests/test_xml_processor.py | 85 ++++++++++++++----- 1 file changed, 66 insertions(+), 19 deletions(-) diff --git a/backend/ecmk_fetcher/tests/test_xml_processor.py b/backend/ecmk_fetcher/tests/test_xml_processor.py index 7e19181b..451c1e3f 100644 --- a/backend/ecmk_fetcher/tests/test_xml_processor.py +++ b/backend/ecmk_fetcher/tests/test_xml_processor.py @@ -1,4 +1,4 @@ -from backend.ecmk_fetcher.xml_processor import parse_rdsap +from backend.ecmk_fetcher.xml_processor import SapPropertyDetails, parse_rdsap SAMPLE_XML = """ @@ -18,29 +18,64 @@ SAMPLE_XML = """25.31 + 2.46 + 43.61 + 0 + 0 + + + + 26.16 + 2.44 + 42.33 + 1 + 0 + + + + + + 2 + Extension + C + + 8 + 7 + AB + + 3 + 4 + + + + 6.85 + 2.24 + 4.46 + 0 + 0 + + + + + @@ -51,7 +86,7 @@ SAMPLE_XML = """