lxml.tests.test_pyclasslookup

Package lxml :: Package tests :: Module test_pyclasslookup |
[frames] | no frames]

# Module test_pyclasslookup

source code

Tests specific to the Python based class lookup.

Classes
| PyClassLookupTestCase Test cases for the lxml.pyclasslookup class lookup mechanism.

Functions
test_suite() | source code

Variables
| xml_str = ``'``<obj:root xmlns:obj="objectified" xmlns:other="othe``...``

Variables Details

  ### xml_str Value:
      '''<obj:root xmlns:obj="objectified" xmlns:other="otherNS">
        <obj:c1 a1="A1" a2="A2" other:a3="A3">
          <obj:c2>0</obj:c2>
          <obj:c2>1</obj:c2>
          <obj:c2>2</obj:c2>
          <other:c2>3</other:c2>
          <c2>3</c2>
        </obj:c1>
      ...