Did I find the right examples for you? yes no

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

        def _run_text(source_xml, transform_xml, expected, parameters=None,
              source_uri=None, transform_uri=None):
    _run(source_xml, transform_xml, expected, parameters,
         _compare_text, source_uri, transform_uri)
        


src/a/m/Amara-2.0.0/test/xslt/test_key.py   Amara(Download)
from amara.xslt import XsltError
 
from xslt_support import _run_xml, _run_html, _run_text
 
module_name = os.path.dirname(__file__)
def test_key_2():
    """keys scoped to context document"""
    _run_text(
        source_xml = FILE_SOURCE_XML,
        source_uri = FILE_URI,
def test_key_3():
    """keys using patterns of form `ns:*`"""
    _run_text(
        source_xml = FILE_SOURCE_XML,
        source_uri = FILE_URI,
def test_key_4():
    """imported keys"""
    _run_text(
        source_xml = FILE_SOURCE_XML,
        source_uri = FILE_URI,
def test_key_5():
    """included keys (test_key_5)"""
    _run_text(
        source_xml = FILE_SOURCE_XML,
        source_uri = FILE_URI,