def test_get_qps_60s(self):
    inst = instance.Instance(self.request_data, 'name', self.proxy,
                             max_concurrent_requests=5)
    now = time.time()
    inst._request_history = [(now, now*1)] * 120
    self.assertEqual(2.0, inst.get_qps_60s())
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/instance_test.py/TestInstance.test_get_qps_60s/operator `+` -> `*`