MCPcopy
hub / github.com/csev/py4e / test_declaration

Method test_declaration

code3/bs4/tests/test_tree.py:1621–1623  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1619 self.assertEqual(soup.encode(), b"<!DOCTYPE foo>\n")
1620
1621 def test_declaration(self):
1622 d = Declaration("foo")
1623 self.assertEqual("<?foo?>", d.output_ready())
1624
1625class TestSoupSelector(TreeTest):
1626

Callers

nothing calls this directly

Calls 2

DeclarationClass · 0.90
output_readyMethod · 0.45

Tested by

no test coverage detected