Package lxml :: Package tests :: Module test_xslt :: Class ETreeXSLTTestCase
[hide private]
[frames] | no frames]

Class ETreeXSLTTestCase

source code

               object --+        
                        |        
   unittest.case.TestCase --+    
                            |    
common_imports.HelperTestCase --+
                                |
                               ETreeXSLTTestCase

XSLT tests etree
Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
test_xslt(self) source code
 
test_xslt_elementtree_error(self) source code
 
test_xslt_input_none(self) source code
 
test_xslt_invalid_stylesheet(self) source code
 
test_xslt_copy(self) source code
 
_xslt_setup(*args, **kwds) source code
 
test_xslt_utf8(self) source code
 
test_xslt_encoding(self) source code
 
test_xslt_encoding_override(self) source code
 
test_xslt_write_output_bytesio(self) source code
 
test_xslt_write_output_failure(self) source code
 
test_xslt_write_output_file(self) source code
 
test_xslt_write_output_file_path(self) source code
 
test_xslt_unicode(self) source code
 
test_xslt_unicode_standalone(self) source code
 
test_xslt_input(self) source code
 
test_xslt_input_partial_doc(self) source code
 
test_xslt_broken(self) source code
 
_test_xslt_error_log(self) source code
 
test_xslt_parameters(self) source code
 
test_xslt_string_parameters(self) source code
 
test_xslt_parameter_invalid(self) source code
 
test_xslt_parameter_missing(self) source code
 
test_xslt_multiple_parameters(self) source code
 
test_xslt_parameter_xpath(self) source code
 
test_xslt_parameter_xpath_object(self) source code
 
test_xslt_default_parameters(self) source code
 
test_xslt_html_output(self) source code
 
test_xslt_include(self) source code
 
test_xslt_include_from_filelike(self) source code
 
test_xslt_multiple_transforms(self) source code
 
test_xslt_repeat_transform(self) source code
 
test_xslt_empty(self) source code
 
test_xslt_message(self) source code
 
test_xslt_message_terminate(self) source code
 
test_xslt_shortcut(self) source code
 
test_multiple_elementrees(self) source code
 
test_xslt_document_XML(self) source code
 
test_xslt_document_parse(self) source code
 
test_xslt_document_elementtree(self) source code
 
test_xslt_document_error(self) source code
 
test_xslt_document_XML_resolver(self) source code
 
test_xslt_resolver_url_building(self) source code
 
test_xslt_document_parse_allow(self) source code
 
test_xslt_document_parse_deny(self) source code
 
test_xslt_document_parse_deny_all(self) source code
 
test_xslt_access_control_repr(self) source code
 
test_xslt_move_result(self) source code
 
test_xslt_pi(self) source code
 
test_xslt_pi_embedded_xmlid(self) source code
 
test_xslt_pi_embedded_id(self) source code
 
test_xslt_pi_get(self) source code
 
test_xslt_pi_get_all(self) source code
 
test_xslt_pi_get_all_reversed(self) source code
 
test_xslt_pi_get_unknown(self) source code
 
test_xslt_pi_set_replace(self) source code
 
test_xslt_pi_set_new(self) source code

Inherited from common_imports.HelperTestCase: parse, tearDown

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, setUp, 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 unittest.case.TestCase: longMessage, maxDiff

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_xslt_setup(*args, **kwds)

source code 
Decorators:
  • @contextlib.contextmanager