From 6bc5b53995af98cd702bea32c8780f915c4c31d4 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sat, 1 Feb 2025 13:52:43 +0200 Subject: [PATCH] test presence of a element add a testcase for the XML output --- tests/lib/pysol_tests/test_import_file.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/lib/pysol_tests/test_import_file.py b/tests/lib/pysol_tests/test_import_file.py index b37f1e55..f4e60079 100644 --- a/tests/lib/pysol_tests/test_import_file.py +++ b/tests/lib/pysol_tests/test_import_file.py @@ -61,7 +61,11 @@ class ImportFileTests(unittest.TestCase): def test_import_XML(self): return self._successful_import__XML_test( fn='tests/unit/data/with-10-for-rank.txt', - expected_regex='''''', + expected_regex=( + '''''' + '''''' + ), blurb='xml import worked') def test_import(self):