Example #1
0
 def test_4DTDcompile(self):
     fo = open("pomtest.py", "w")
     try:
         dtdp = DTD.get_dtd_compiler(fo)
         dtdp.parse_resource("etc/dtd/pomtest.dtd")
     finally:
         fo.close()
Example #2
0
 def test_4DTDcompile(self):
     fo = open("pomtest.py", "w")
     try:
         dtdp = DTD.get_dtd_compiler(fo)
         dtdp.parse_resource("etc/dtd/pomtest.dtd")
     finally:
         fo.close()
Example #3
0
 def test_3DTD(self):
     dtdp = DTD.get_dtd_compiler(sys.stdout)
     dtdp.parse_resource("etc/dtd/pomtest.dtd")
Example #4
0
 def test_3DTD(self):
     dtdp = DTD.get_dtd_compiler(sys.stdout)
     dtdp.parse_resource("etc/dtd/pomtest.dtd")