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')
def setUp(self): super(TestFramework, self).setUp() fname = self._mkfn('foo.txt') stream_writer(fname, STREAM_1) self.stream = open(fname, 'r')