Home
last modified time | relevance | path

Searched refs:substitute_xml (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/bs4/tests/
H A Dtest_soup.py158 self.assertEqual(self.sub.substitute_xml(s, False), s)
161 self.assertEqual(self.sub.substitute_xml("Welcome", True),
163 self.assertEqual(self.sub.substitute_xml("Bob's Bar", True),
168 self.assertEqual(self.sub.substitute_xml(s, True),
174 self.sub.substitute_xml(s, True),
179 self.assertEqual(self.sub.substitute_xml(quoted), quoted)
183 self.sub.substitute_xml("foo<bar>"),
187 self.assertEqual(self.sub.substitute_xml("AT&T"), "AT&amp;T")
191 self.sub.substitute_xml("&Aacute;T&T"),
/openbmc/openbmc/poky/bitbake/lib/bs4/
H A Delement.py117 def substitute_xml(cls, ns): member in HTMLAwareEntitySubstitution
119 ns, EntitySubstitution.substitute_xml)
145 "minimal" : HTMLAwareEntitySubstitution.substitute_xml,
151 "minimal" : EntitySubstitution.substitute_xml,
185 name, EntitySubstitution.substitute_xml)
188 name, HTMLAwareEntitySubstitution.substitute_xml)
H A Ddammit.py131 def substitute_xml(cls, value, make_quoted_attribute=False): member in EntitySubstitution