class documentation

class TestPersistence(SoupTest): (source)

View In Hierarchy

Testing features like pickle and deepcopy.

Method setup_method Undocumented
Method test_copy_entire_soup Undocumented
Method test_copy_navigablestring_is_not_attached_to_tree Undocumented
Method test_copy_navigablestring_subclass_has_same_type Undocumented
Method test_copy_preserves_builder_information Undocumented
Method test_copy_preserves_encoding Undocumented
Method test_copy_tag_copies_contents Undocumented
Method test_deepcopy_identity Undocumented
Method test_pickle_and_unpickle_identity Undocumented
Method test_unicode_pickle Undocumented
Instance Variable page Undocumented
Instance Variable tree 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 setup_method(self): (source)

Undocumented

def test_copy_entire_soup(self): (source)

Undocumented

def test_copy_navigablestring_is_not_attached_to_tree(self): (source)

Undocumented

def test_copy_navigablestring_subclass_has_same_type(self): (source)

Undocumented

def test_copy_preserves_builder_information(self): (source)

Undocumented

def test_copy_preserves_encoding(self): (source)

Undocumented

def test_copy_tag_copies_contents(self): (source)

Undocumented

def test_deepcopy_identity(self): (source)

Undocumented

def test_pickle_and_unpickle_identity(self): (source)

Undocumented

def test_unicode_pickle(self): (source)

Undocumented

Undocumented

Undocumented