Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_pyexpat Namespace Reference

Classes

class  SetAttributeTest
class  ParseTest
class  NamespaceSeparatorTest
class  InterningTest
class  BufferTextTest
class  HandlerExceptionTest
class  PositionTest
class  sf1296433Test
class  ChardataBufferTest
class  MalformedInputTest
class  ErrorMessageTest
class  ForeignDTDTests

Functions

def test_main

Variables

string data

Function Documentation

Definition at line 664 of file test_pyexpat.py.

00664 
00665 def test_main():
00666     run_unittest(SetAttributeTest,
00667                  ParseTest,
00668                  NamespaceSeparatorTest,
00669                  InterningTest,
00670                  BufferTextTest,
00671                  HandlerExceptionTest,
00672                  PositionTest,
00673                  sf1296433Test,
00674                  ChardataBufferTest,
00675                  MalformedInputTest,
00676                  ErrorMessageTest,
00677                  ForeignDTDTests)

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 '''\
00002 <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
00003 <?xml-stylesheet href="stylesheet.css"?>
00004 <!-- comment data -->
00005 <!DOCTYPE quotations SYSTEM "quotations.dtd" [
00006 <!ELEMENT root ANY>
00007 <!ATTLIST root attr1 CDATA #REQUIRED attr2 CDATA #IMPLIED>
00008 <!NOTATION notation SYSTEM "notation.jpeg">
00009 <!ENTITY acirc "&#226;">
00010 <!ENTITY external_entity SYSTEM "entity.file">
00011 <!ENTITY unparsed_entity SYSTEM "entity.file" NDATA notation>
00012 %unparsed_entity;
00013 ]>
00014 
00015 <root attr1="value1" attr2="value2&#8000;">
00016 <myns:subelement xmlns:myns="http://www.python.org/namespace">
00017      Contents of subelements
00018 </myns:subelement>
00019 <sub2><![CDATA[contents of CDATA section]]></sub2>
00020 &external_entity;
00021 &skipped_entity;
00022 </root>
00023 '''

Definition at line 34 of file test_pyexpat.py.