'L{UnixApplicationRunner.removePID} deletes the file the name of
which is passed to it.'

def test_removePID(self):

    runner = UnixApplicationRunner({})
    path = self.mktemp()
    os.makedirs(path)
    pidfile = os.path.join(path, 'foo.pid')
    open(pidfile, 'w').close()
    runner.removePID(pidfile)
    self.assertFalse(os.path.exists(pidfile))
