class documentation

class TestPreviousSibling(SiblingTest): (source)

View In Hierarchy

Undocumented

Method setup_method Undocumented
Method test_find_previous_sibling Undocumented
Method test_previous_sibling Undocumented
Method test_previous_sibling_for_text_element Undocumented
Method test_previous_sibling_may_not_exist Undocumented
Method test_previous_sibling_of_root_is_none Undocumented
Method test_previous_siblings Undocumented
Instance Variable end Undocumented

Inherited from SiblingTest:

Instance Variable tree Undocumented

Inherited from SoupTest (via SiblingTest):

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)
def test_find_previous_sibling(self): (source)

Undocumented

def test_previous_sibling(self): (source)

Undocumented

def test_previous_sibling_for_text_element(self): (source)

Undocumented

def test_previous_sibling_may_not_exist(self): (source)

Undocumented

def test_previous_sibling_of_root_is_none(self): (source)

Undocumented

def test_previous_siblings(self): (source)

Undocumented

Undocumented