lxml.tests.test_incremental_xmlfile.HtmlFileTestCase
Package lxml :: Package tests :: Module test_incremental_xmlfile :: Class HtmlFileTestCase
[hide private]
[frames] | no frames]

Class HtmlFileTestCase

source code

               object --+            
                        |            
   unittest.case.TestCase --+        
                            |        
common_imports.HelperTestCase --+    
                                |    
             _XmlFileTestCaseBase --+
                                    |
                                   HtmlFileTestCase

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test_void_elements(self) source code
 
test_method_context_manager_misuse(self) source code
 
test_xml_mode_write_inside_html(self) source code
 
test_xml_mode_element_inside_html(self) source code
 
test_attribute_quoting(self) source code
 
test_attribute_quoting_unicode(self) source code
 
test_unescaped_script(self) source code
 
test_unescaped_script_incremental(self) source code
 
test_write_declaration(self) source code
 
test_write_namespaced_element(self) source code
 
test_open_namespaced_element(self) source code

Inherited from _XmlFileTestCaseBase: assertXml, tearDown, test_anonymous_namespace, test_attribute, test_attribute_extra, test_attribute_extra_duplicate, test_buffering, test_closing_out_of_order_in_error_case, test_comment, test_default_namespace, test_element, test_element_nested, test_element_nested_with_text, test_element_write_empty, test_element_write_text, test_encoding, test_escaping, test_failure_preceding_text, test_failure_trailing_Element, test_failure_trailing_text, test_flush, test_generator_close_continues_closing, test_namespace_nested_anonymous, test_namespace_nested_nsmap, test_namespace_nsmap, test_nested_default_namespace, test_nested_default_namespace_and_other, test_non_io_exception_continues_closing, test_pi, test_write_Element, test_write_Element_repeatedly

Inherited from _XmlFileTestCaseBase (private): _parse_file, _read_file

Inherited from common_imports.HelperTestCase: parse

Inherited from common_imports.HelperTestCase (private): _rootstring

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]

Inherited from _XmlFileTestCaseBase (private): _file

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.case.TestCase.setUp
(inherited documentation)