示例#1
0
 def runTest(self):
     self._path = preprocessFromString(self.ks + "%ksappend " + self._ksappendPath)
     with open(self._path) as f:
         self.assertEqual(f.read(), self.ks + self.ksappend)
示例#2
0
 def runTest(self):
     self._path = preprocessFromString(self.ks)
     with open(self._path) as f:
         self.assertEqual(f.read(), self.ks)
示例#3
0
 def runTest(self):
     self._path = preprocessFromString(self.ks)
     with open(self._path) as f:
         self.assertEqual(f.read(), self.ks)
示例#4
0
 def runTest(self):
     self._path = preprocessFromString(self.ks + "%ksappend " +
                                       self._ksappendPath)
     with open(self._path) as f:
         self.assertEqual(f.read(), self.ks + self.ksappend)
示例#5
0
 def runTest(self):
     self.assertEqual(preprocessFromString(""), None)
     self.assertEqual(preprocessFromString(" "), None)
     self.assertEqual(preprocessFromString("  \n  \n       \n\n  "), None)