Could you store the return value of `retry` in `d` and ensure it is not fired with any errors? i.e. `self.assertNoResult(d)`