Ejemplo n.º 1
0
 def testWrite(self):
     b = Bundle(CRTFILE)
     b.write(BUNDLE)
     f = open(CRTFILE)
     s = f.read()
     f.close()
     self.assertEqual(BUNDLE.strip(), s.strip())
Ejemplo n.º 2
0
 def testWrite(self):
     b = Bundle(CRTFILE)
     b.write(BUNDLE)
     f = open(CRTFILE)
     s = f.read()
     f.close()
     self.assertEqual(BUNDLE.strip(), s.strip())
Ejemplo n.º 3
0
 def testRead(self):
     b = Bundle(CRTFILE)
     b.write(BUNDLE)
     s = b.read()
     self.assertEqual(BUNDLE.strip(), s.strip())
Ejemplo n.º 4
0
 def testRead(self):
     b = Bundle(CRTFILE)
     b.write(BUNDLE)
     s = b.read()
     self.assertEqual(BUNDLE.strip(), s.strip())