class documentation

class TestMultiValuedAttributes(SoupTest): (source)

View In Hierarchy

Test the behavior of multi-valued attributes like 'class'. The values of such attributes are always presented as lists.

Method test_accept_charset Undocumented
Method test_attributes_joined_into_string_on_output Undocumented
Method test_cdata_attribute_applying_only_to_one_tag Undocumented
Method test_customization Undocumented
Method test_get_attribute_list Undocumented
Method test_multiple_values_becomes_list Undocumented
Method test_multiple_values_separated_by_weird_whitespace Undocumented
Method test_single_value_becomes_list 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_accept_charset(self): (source)

Undocumented

def test_attributes_joined_into_string_on_output(self): (source)

Undocumented

def test_cdata_attribute_applying_only_to_one_tag(self): (source)

Undocumented

def test_customization(self): (source)

Undocumented

def test_get_attribute_list(self): (source)

Undocumented

def test_multiple_values_becomes_list(self): (source)

Undocumented

def test_multiple_values_separated_by_weird_whitespace(self): (source)

Undocumented

def test_single_value_becomes_list(self): (source)

Undocumented