class documentation

class TestFindAll(SoupTest): (source)

View In Hierarchy

Basic tests of the find_all() method.

Method test_calling_a_tag_is_calling_findall Undocumented
Method test_find_all_limit You can limit the number of items returned by find_all.
Method test_find_all_resultset All find_all calls return a ResultSet
Method test_find_all_text_nodes You can search the tree for text nodes.
Method test_find_all_with_self_referential_data_structure_does_not_cause_infinite_recursion 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_calling_a_tag_is_calling_findall(self): (source)

Undocumented

def test_find_all_limit(self): (source)

You can limit the number of items returned by find_all.

def test_find_all_resultset(self): (source)

All find_all calls return a ResultSet

def test_find_all_text_nodes(self): (source)

You can search the tree for text nodes.

def test_find_all_with_self_referential_data_structure_does_not_cause_infinite_recursion(self): (source)

Undocumented