mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-28 04:20:58 +00:00
Some XML updates
This commit is contained in:
parent
de87b28c61
commit
c0d343b341
6 changed files with 232 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue