

def setUp(self):
    self.app = Application()
    self.init_app(self.app)
    engine = Engine.instance()
    engine.server = HTTPServer(self.app, engine=engine)
    self.server.listen(('127.0.0.1', 4040))
    PantsTestCase.setUp(self, engine)

dataset/ETHPy150Open ecdavis/pants/pants/test/web/test_web_application.py AppTestCase.setUp/VarMisuse@35/38 `self`->`engine`