MCPcopy Create free account
hub / github.com/gawel/pyquery / test_parser_persistance

Method test_parser_persistance

tests/test_pyquery.py:795–799  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

793 </div>''&#x27;
794
795 def test_parser_persistance(self):
796 d = pq(self.xml, parser='xml')
797 self.assertRaises(etree.XMLSyntaxError, lambda: d.after(self.html))
798 d = pq(self.xml, parser='html')
799 d.after(self.html) # this should not fail
800
801 def test_replaceWith(self):
802 expected = ''&#x27;<div class="portlet">

Callers

nothing calls this directly

Calls 1

afterMethod · 0.80

Tested by

no test coverage detected