class documentation

Basic tests of the find() method. find() just calls find_all() with limit=1, so it's not tested all that thouroughly here.

Method test_find_everything Test an optimization that finds all tags.
Method test_find_everything_with_name Test an optimization that finds all tags with a given name.
Method test_find_tag Undocumented
Method test_unicode_attribute_find Undocumented
Method test_unicode_text_find 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_find_everything(self): (source)

Test an optimization that finds all tags.

def test_find_everything_with_name(self): (source)

Test an optimization that finds all tags with a given name.

def test_find_tag(self): (source)

Undocumented

def test_unicode_attribute_find(self): (source)

Undocumented

def test_unicode_text_find(self): (source)

Undocumented