This commit is contained in:
Simeon Warner 2020-12-24 13:27:59 -05:00
parent 9ffa84a768
commit 785e851f64

View File

@ -407,7 +407,7 @@ class TestSitemap(unittest.TestCase):
</url>'''
et = parse(io.StringIO(xml))
Sitemap().resource_from_etree(et, Resource)
self.assertIn('Ignored unsupported hash type (UNKNOWN-TYPE)', lc.records[-1].msg)
self.assertIn('Ignored unsupported hash type UNKNOWN-TYPE', lc.records[-1].msg)
def test_32_md_from_etree(self):
"""Test md_from_etree method."""