Some XML updates
Some checks are pending
/ build (macos-latest, 3.8) (push) Waiting to run
/ build (ubuntu-latest, pypy-2.7) (push) Waiting to run
/ build (windows-latest, 3.14) (push) Waiting to run

This commit is contained in:
Miroslav Štampar 2026-06-23 13:43:48 +02:00
parent de87b28c61
commit c0d343b341
6 changed files with 232 additions and 7 deletions

View file

@ -83,6 +83,10 @@ class TestXmlWellFormed(unittest.TestCase):
path = os.path.join(ROOT, "data", "xml", rel)
ET.parse(path) # raises on malformed
def test_banner_xml_parses(self):
for path in glob.glob(os.path.join(ROOT, "data", "xml", "banner", "*.xml")):
ET.parse(path) # raises on malformed
class TestSourceAsciiSafety(unittest.TestCase):
# sqlmap source files carry NO coding header, so any non-ASCII byte breaks py2 parsing.