'Should request removal of specified PID file if lock is ours.'

def test_removes_existing_pidfile_if_i_am_locking(self):

    set_pidlockfile_scenario(self, 'exist-current-pid-locked')
    instance = self.test_instance
    pidfile_path = self.scenario['path']
    expect_mock_output = ('                                                ...\n                                                Called    pidlockfile.remove_existing_pidfile(%(pidfile_path)r)\n                                                ...\n                                                ' % vars())
    instance.release()
    self.failUnlessMockCheckerMatch(expect_mock_output)
