Package simplexmlapi :: Package tests :: Module test_api
[hide private]
[frames] | no frames]

Module test_api

source code

Classes [hide private]
  TestAPI
Variables [hide private]
  TESTDOC = '\n<node1 abc="1" b="2" subnode="subnodeval">\n <...
  TESTCFG = {'val1': 'abc', 'val2': 'subnode__0', 'val3': 'other...
Variables Details [hide private]

TESTDOC

Value:
'''
<node1 abc="1" b="2" subnode="subnodeval">
    <subnode>
        Subnode 1 value.
    </subnode>
    <subnode c="3">
        Subnode 2 value.
        <subsubnode>
...

TESTCFG

Value:
{'val1': 'abc',
 'val2': 'subnode__0',
 'val3': 'othernode',
 'val4': 'subnode__a',
 'val5': 'subnode.c',
 'val6': 'subnode__1.subsubnode.thing',
 'val7': 'subnode__1.subsubnode.thing__1.x'}