'Set up test fixtures.'

def setUp(self):

    self.mock_tracker = scaffold.MockTracker()
    test_pids = [0, 0]
    scaffold.mock('os.fork', returns_iter=test_pids, tracker=self.mock_tracker)
    scaffold.mock('os.setsid', tracker=self.mock_tracker)
    def raise_os_exit(status=None):
        raise self.FakeOSExit(status)
    scaffold.mock('os._exit', returns_func=raise_os_exit, tracker=self.mock_tracker)
