class documentation
Standalone tests of the EntitySubstitution class.
@pytest.mark.parametrize( 'original,substituted', [ ( 'foo∀☃õbar', 'foo∀☃õbar'), ( '‘’foo“”', '‘’foo“”')])
def test_substitute_html(self, original, substituted): (source) ¶
def test_substitute_html(self, original, substituted): (source) ¶
Undocumented
def test_xml_attribute_quoting_escapes_single_quotes_when_value_contains_both_single_and_double_quotes(self):
(source)
¶
Undocumented
def test_xml_attribute_quoting_uses_single_quotes_when_value_contains_double_quotes(self):
(source)
¶
Undocumented