class documentation

class TestParentOperations(SoupTest): (source)

View In Hierarchy

Test navigation and searching through an element's parents.

Method setup_method Undocumented
Method test_find_parent Undocumented
Method test_find_parents Undocumented
Method test_parent Undocumented
Method test_parent_generator Undocumented
Method test_parent_of_text_element Undocumented
Method test_parent_of_top_tag_is_soup_object Undocumented
Method test_soup_object_has_no_parent Undocumented
Method test_text_element_find_parent Undocumented
Instance Variable start 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_find_parent(self): (source)

Undocumented

def test_find_parents(self): (source)

Undocumented

def test_parent(self): (source)

Undocumented

def test_parent_generator(self): (source)

Undocumented

def test_parent_of_text_element(self): (source)

Undocumented

def test_parent_of_top_tag_is_soup_object(self): (source)

Undocumented

def test_soup_object_has_no_parent(self): (source)

Undocumented

def test_text_element_find_parent(self): (source)

Undocumented

Undocumented

Undocumented