Exemplo n.º 1
0
 def setUp(self):
     super(TestFramework, self).setUp()
     fname = self._mkfn('foo.txt')
     stream_writer(fname, STREAM_1)
     self.stream1 = open(fname, 'r')
     fname = self._mkfn('foo2.txt')
     stream_writer(fname, STREAM_2)
     self.stream2 = open(fname, 'r')
     fname = self._mkfn('foo3.bin')
     binary_stream_writer(fname, STREAM_3)
     self.stream3 = open(fname, 'r')
Exemplo n.º 2
0
 def setUp(self):
     super(TestFramework, self).setUp()
     fname = self._mkfn('foo.txt')
     stream_writer(fname, STREAM_1)
     self.stream1 = open(fname, 'r')
     fname = self._mkfn('foo2.txt')
     stream_writer(fname, STREAM_2)
     self.stream2 = open(fname, 'r')
     fname = self._mkfn('foo3.bin')
     binary_stream_writer(fname, STREAM_3)
     self.stream3 = open(fname, 'r')
Exemplo n.º 3
0
 def setUp(self):
     super(TestFramework, self).setUp()
     fname = self._mkfn('foo.txt')
     stream_writer(fname, STREAM_1)
     self.stream = open(fname, 'r')