def setUp(self):
        """Set up things before beginning of each test.
        """
        self._stream_file = os.path.join(self.TEST_FOLDER, 'test.txt')
        self._stream = io.open(self._stream_file, 'w+')
        self._stream_no_tty = StringIO()
Set up things before beginning of each test.
        
tests/test_halo.py