class documentation

class Test_fromstring(unittest.TestCase):

View In Hierarchy

Undocumented

Method call​_it Undocumented
Method test​_integration​_single​_fragment Undocumented
Method test​_integration​_whole​_doc Undocumented
Method test​_raises​_type​_error​_on​_nonstring​_input Undocumented
Method test​_returns​_body​_if​_has​_text Undocumented
Method test​_returns​_body​_if​_single​_element​_has​_tail Undocumented
Method test​_returns​_unwraps​_body​_if​_single​_element Undocumented
Method test​_returns​_whole​_doc​_if​_head​_not​_empty Undocumented
Method test​_returns​_whole​_doc​_if​_head​_not​_empty​_no​_ns Undocumented
Method test​_returns​_whole​_doc​_if​_input​_contains​_doctype Undocumented
Method test​_returns​_whole​_doc​_if​_input​_contains​_html​_tag Undocumented
Method test​_returns​_whole​_doc​_if​_input​_is​_encoded Undocumented
Method test​_wraps​_multiple​_fragments​_in​_div​_no​_ns Undocumented
Method test​_wraps​_multiple​_fragments​_in​_span​_no​_ns Undocumented
def call_it(self, *args, **kwargs):

Undocumented

@skipUnless(html5lib, 'html5lib is not installed')
def test_integration_single_fragment(self):

Undocumented

@skipUnless(html5lib, 'html5lib is not installed')
def test_integration_whole_doc(self):

Undocumented

def test_raises_type_error_on_nonstring_input(self):

Undocumented

def test_returns_body_if_has_text(self):

Undocumented

def test_returns_body_if_single_element_has_tail(self):

Undocumented

def test_returns_unwraps_body_if_single_element(self):

Undocumented

def test_returns_whole_doc_if_head_not_empty(self, use_ns=True):

Undocumented

def test_returns_whole_doc_if_head_not_empty_no_ns(self):

Undocumented

def test_returns_whole_doc_if_input_contains_doctype(self):

Undocumented

def test_returns_whole_doc_if_input_contains_html_tag(self):

Undocumented

def test_returns_whole_doc_if_input_is_encoded(self):

Undocumented

def test_wraps_multiple_fragments_in_div_no_ns(self):

Undocumented

def test_wraps_multiple_fragments_in_span_no_ns(self):

Undocumented