Skip to content

Add test for "Skipping ill-formed XML content" log

This snippet of code exists in translate() methods of MavenMapping and very soon NuGetMapping(since it was tested in MavenMapping).

if not isinstance(d, dict):
            self.log.warning("Skipping ill-formed XML content: %s", content)
            return None

Need to write a test for when such a log entry may occur.


Migrated from T4445 (view on Phabricator)