def test_read11(self): t = "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H></A>" w = StringIO.StringIO() result = xmlRead(t, c, w) st = str(result) self.assertTrue( st == "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H></A>")
def test_read17(self): t = "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H><I></I><J></J><K></K><L></L><M></M><N></N></A>" w = StringIO.StringIO() result = xmlRead(t, c, w) st = str(result) self.assertTrue( st == "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H><I></I><J></J><K></K><L></L><M></M><N></N></A>" )
def setUp(self): w = StringIO.StringIO() xmlRead(open("RunWCDB.in.xml" , "r"), c, w)
def test_read17(self): t = "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H><I></I><J></J><K></K><L></L><M></M><N></N></A>" w = StringIO.StringIO() result = xmlRead(t, c, w) st = str(result) self.assertTrue(st == "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H><I></I><J></J><K></K><L></L><M></M><N></N></A>")
def test_read11(self): t = "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H></A>" w = StringIO.StringIO() result = xmlRead(t, c, w) st = str(result) self.assertTrue(st == "<A><B></B><C></C><D></D><E></E><F></F><G></G><H></H></A>")
def test_read7(self): t = "<A><B></B><C></C><D></D></A>" w = StringIO.StringIO() result = xmlRead(t, c, w) st = str(result) self.assertTrue(st == "<A><B></B><C></C><D></D></A>")
def setUp(self): w = StringIO.StringIO() xmlRead(open("RunWCDB.in.xml", "r"), c, w)