'Calltime stats reflect response calls.'

def test_call_duration_stats(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(r.get_metrics(), {'call_durations': {4.6: 20}, 'errors': {'fail': 5}, 'ok_count': 20, 'err_count': 5})
