Lines Matching defs:self

25     def default_builder(self):  argument
28 def soup(self, markup, **kwargs): argument
33 def document_for(self, markup): argument
40 def assertSoupEquals(self, to_parse, compare_parsed_to=None): argument
48 def assertConnectedness(self, element): argument
69 def test_pickle_and_unpickle_identity(self): argument
78 def assertDoctypeHandled(self, doctype_fragment): argument
92 def _document_with_doctype(self, doctype_fragment): argument
99 def test_normal_doctypes(self): argument
105 def test_empty_doctype(self): argument
110 def test_public_doctype_with_url(self): argument
114 def test_system_doctype(self): argument
117 def test_namespaced_system_doctype(self): argument
121 def test_namespaced_public_doctype(self): argument
125 def test_real_xhtml_document(self): argument
138 def test_processing_instruction(self): argument
143 def test_deepcopy(self): argument
151 def test_p_tag_is_never_empty_element(self): argument
161 def test_unclosed_tags_get_closed(self): argument
171 def test_br_is_always_empty_element_tag(self): argument
181 def test_nested_formatting_elements(self): argument
184 def test_double_head(self): argument
201 def test_comment(self): argument
216 def test_preserved_whitespace_in_pre_and_textarea(self): argument
221 def test_nested_inline_elements(self): argument
232 def test_nested_block_level_elements(self): argument
239 def test_correctly_nested_tables(self): argument
259 def test_deeply_nested_multivalued_attribute(self): argument
267 def test_multivalued_attribute_on_html(self): argument
275 def test_angle_brackets_in_attribute_values_are_escaped(self): argument
278 def test_entities_in_attributes_converted_to_unicode(self): argument
285 def test_entities_in_text_converted_to_unicode(self): argument
292 def test_quot_entity_converted_to_quotation_mark(self): argument
296 def test_out_of_range_entity(self): argument
302 def test_multipart_strings(self): argument
309 def test_head_tag_between_head_and_body(self): argument
320 def test_multiple_copies_of_a_tag(self): argument
337 def test_basic_namespaces(self): argument
352 def test_multivalued_attribute_value_becomes_list(self): argument
364 def test_can_parse_unicode_document(self): argument
372 def test_soupstrainer(self): argument
379 def test_single_quote_attribute_values_become_double_quotes(self): argument
383 def test_attribute_values_with_nested_quotes_are_left_alone(self): argument
387 def test_attribute_values_with_double_nested_quotes_get_quoted(self): argument
395 def test_ampersand_in_attribute_value_gets_escaped(self): argument
403 def test_escaped_ampersand_in_attribute_value_is_left_alone(self): argument
406 def test_entities_in_strings_converted_during_parsing(self): argument
413 def test_smart_quotes_converted_on_the_way_in(self): argument
422 def test_non_breaking_spaces_converted_on_the_way_in(self): argument
426 def test_entities_converted_on_the_way_out(self): argument
432 def test_real_iso_latin_document(self): argument
459 def test_real_shift_jis_document(self): argument
476 def test_real_hebrew_document(self): argument
487 def test_meta_tag_reflects_current_encoding(self): argument
515 def test_html5_style_meta_tag_reflects_current_encoding(self): argument
539 def test_tag_with_no_attributes_can_have_attributes_added(self): argument
546 def test_pickle_and_unpickle_identity(self): argument
555 def test_docstring_generated(self): argument
560 def test_xml_declaration(self): argument
565 def test_real_xhtml_document(self): argument
577 def test_formatter_processes_script_tag_for_xml_documents(self): argument
589 def test_can_parse_unicode_document(self): argument
594 def test_popping_namespaced_tag(self): argument
600 def test_docstring_includes_correct_encoding(self): argument
606 def test_large_xml_document(self): argument
615 def test_tags_are_empty_element_if_and_only_if_they_are_empty(self): argument
619 def test_namespaces_are_preserved(self): argument
626 def test_closing_namespaced_tag(self): argument
631 def test_namespaced_attributes(self): argument
636 def test_namespaced_attributes_xml_namespace(self): argument
644 def test_real_xhtml_document(self): argument
649 def test_html_tags_have_namespace(self): argument
654 def test_svg_tags_have_namespace(self): argument
662 def test_mathml_tags_have_namespace(self): argument
669 def test_xml_declaration_becomes_comment(self): argument