def _callFUT(self, filename): from pyramid.scripts.pserve import read_pidfile return read_pidfile(filename)