lxml.tests.test_incremental_xmlfile.SimpleFileLikeXmlFileTestCase

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

# Class SimpleFileLikeXmlFileTestCase

source code

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

Nested Classes | [hide private]
| SimpleFileLike
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
_read_file(self) | source code
_parse_file(self) | source code
test_filelike_not_closing(self) | source code
test_filelike_close(self) | source code
test_write_fails(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 `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)

### _read_file(self) | source code
Overrides: _XmlFileTestCaseBase._read_file

### _parse_file(self) | source code
Overrides: _XmlFileTestCaseBase._parse_file