'``get_default_retry_steps`` returns an iterator consisting of the given
delay repeated enough times to fill the given maximum time period.'

def test_steps(self):

    delay = timedelta(seconds=3)
    max_time = timedelta(minutes=3)
    steps = list(get_default_retry_steps(delay, max_time))
    self.assertThat(set(steps), Equals({delay}))
    self.assertThat(sum(steps, timedelta()), Equals(max_time))
