def METHOD_NAME(self):
    if self.remote_worker is not None:
        return
    if RemoteWorker is None:
        raise SkipTest("buildbot-worker package is not installed")
    workdir = FilePath(self.case.mktemp())
    workdir.createDirectory()
    self.remote_worker = RemoteWorker(self.worker.name, workdir.path, False)
    yield self.remote_worker.setServiceParent(self.worker)