Lines Matching refs:TEXT
22 …TEXT = 'root:x:0:0:root:/root:/bin/bash\nbin:x:1:1:bin:/bin:\ndaemon:x:2:2:daemon:/sbin:\nadm:x:3:… variable in BaseTest
70 self.assertEqual(bz2f.read(), self.TEXT)
89 self.assertEqual(text, self.TEXT)
95 self.assertEqual(bz2f.read(100), self.TEXT[:100])
102 sio = StringIO(self.TEXT)
111 sio = StringIO(self.TEXT)
118 sio = StringIO(self.TEXT)
136 sio = StringIO(self.TEXT)
144 self.assertEqual(bz2f.read(), self.TEXT)
152 self.assertEqual(bz2f.read(), self.TEXT)
160 bz2f.write(self.TEXT)
162 self.assertEqual(self.decompress(f.read()), self.TEXT)
169 str = self.TEXT[n*10:(n+1)*10]
175 self.assertEqual(self.decompress(f.read()), self.TEXT)
181 sio = StringIO(self.TEXT)
186 self.assertEqual(self.decompress(f.read()), self.TEXT)
202 self.assertEqual(bz2f.read(), self.TEXT[150:])
210 self.assertEqual(bz2f.read(), self.TEXT[500-150:])
217 self.assertEqual(bz2f.read(), self.TEXT[len(self.TEXT)-150:])
224 self.assertEqual(bz2f.tell(), len(self.TEXT))
233 self.assertEqual(bz2f.tell(), len(self.TEXT))
242 self.assertEqual(bz2f.read(), self.TEXT)
318 f.write(self.TEXT * 100)
345 data = bz2c.compress(self.TEXT)
347 self.assertEqual(self.decompress(data), self.TEXT)
362 str = self.TEXT[n*10:(n+1)*10]
368 self.assertEqual(self.decompress(data), self.TEXT)
390 self.assertEqual(text, self.TEXT)
403 self.assertEqual(text, self.TEXT)
410 self.assertEqual(text, self.TEXT)
436 data = bz2.compress(self.TEXT)
437 self.assertEqual(self.decompress(data), self.TEXT)
447 self.assertEqual(text, self.TEXT)