class documentation

class TestEncoding(SoupTest): (source)

View In Hierarchy

Test the ability to encode objects into strings.

Method test_decode_contents Undocumented
Method test_deprecated_renderContents Undocumented
Method test_encode_contents Undocumented
Method test_encoding_can_be_made_strict Undocumented
Method test_encoding_substitutes_unrecognized_characters_by_default Undocumented
Method test_repr Undocumented
Method test_tag_containing_unicode_string_can_be_encoded Undocumented
Method test_unicode_string_can_be_encoded Undocumented

Inherited from SoupTest:

Method assert_selects Make sure that the given tags have the correct text.
Method assert_selects_ids Make sure that the given tags have the correct IDs.
Method assert_soup Parse some markup using Beautiful Soup and verify that the output markup is as expected.
Method assertConnectedness Ensure that next_element and previous_element are properly set for all descendants of the given element.
Method document_for Turn an HTML fragment into a document.
Method linkage_validator Ensure proper linkage throughout the document.
Method soup Build a Beautiful Soup object from markup.
Property default_builder Undocumented
def test_decode_contents(self): (source)

Undocumented

def test_deprecated_renderContents(self): (source)

Undocumented

def test_encode_contents(self): (source)

Undocumented

def test_encoding_can_be_made_strict(self): (source)

Undocumented

def test_encoding_substitutes_unrecognized_characters_by_default(self): (source)

Undocumented

def test_repr(self): (source)

Undocumented

def test_tag_containing_unicode_string_can_be_encoded(self): (source)

Undocumented

def test_unicode_string_can_be_encoded(self): (source)

Undocumented