'Requests that fail are considered to be completed requests and
are included when calculating the number of outstanding
requests.'

def test_outstanding_considers_all_responses(self):

    r = RateMeasurer()
    self.send_requests(r, 5, r.sample_size)
    self.receive_requests(r, 4, r.sample_size)
    self.failed_requests(r, 1, r.sample_size)
    self.assertEqual(0, r.outstanding())
