mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Possible fix for weird failure on CI
This commit is contained in:
parent
231664e7ca
commit
6a5cc61adc
@ -54,7 +54,7 @@ def find_tests():
|
|||||||
('PUBLIC', external, None),
|
('PUBLIC', external, None),
|
||||||
('PUBLIC', 'http://example.com', None),
|
('PUBLIC', 'http://example.com', None),
|
||||||
):
|
):
|
||||||
got = safe_xml_fromstring(templ.format(id=eid, val=val)).text
|
got = getattr(safe_xml_fromstring(templ.format(id=eid, val=val)), 'text', None)
|
||||||
self.assertEqual(got, expected)
|
self.assertEqual(got, expected)
|
||||||
|
|
||||||
return unittest.defaultTestLoader.loadTestsFromTestCase(TestXMLParse)
|
return unittest.defaultTestLoader.loadTestsFromTestCase(TestXMLParse)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user