'Set up test fixtures.'

def setUp(self):

    self.mock_tracker = scaffold.MockTracker()
    pidlockfile_scenarios = make_pidlockfile_scenarios()
    self.pidlockfile_scenario = pidlockfile_scenarios['simple']
    pidfile_path = self.pidlockfile_scenario['path']
    scaffold.mock('pidlockfile.PIDLockFile.__init__', tracker=self.mock_tracker)
    scaffold.mock('pidlockfile.PIDLockFile.acquire', tracker=self.mock_tracker)
    self.scenario = {'pidfile_path': self.pidlockfile_scenario['path'], 'acquire_timeout': object()}
    self.test_kwargs = dict(path=self.scenario['pidfile_path'], acquire_timeout=self.scenario['acquire_timeout'])
    self.test_instance = pidlockfile.TimeoutPIDLockFile(**self.test_kwargs)
