'If a L{Deferred} has been fired, then its C{repr()} contains its
result.'

def test_reprWithResult(self):

    d = defer.Deferred()
    d.callback('orange')
    self.assertEqual(repr(d), ("<Deferred    at    0x%x    current    result:    'orange'>" % (id(d),)))
