

def test_quit_with_request_force(self):
    inst = instance.Instance(self.request_data, 'name', inst.proxy, max_concurrent_requests=5)
    self.mox.StubOutWithMock(inst._condition, 'notify_all')
    inst._num_outstanding_requests = 1
    self.proxy.start()
    self.proxy.quit()
    inst._condition.notify_all()
    self.mox.ReplayAll()
    inst.start()
    inst.quit(force=True)
    self.mox.VerifyAll()

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/instance_test.py TestInstance.test_quit_with_request_force/VarMisuse@22/31 `self`->`inst`