'The L{root.Resolver} is eventually created, even if all of the root hint
lookups fail. Pending and new lookups will then fail with
AttributeError.'

def test_continuesWhenAllRootHintsFail(self):

    stubResolver = StubResolver()
    deferredResolver = root.bootstrap(stubResolver)
    results = iter(stubResolver.pendingResults)
    d1 = next(results)
    for d in results:
        d.errback(TimeoutError())
    d1.errback(TimeoutError())
    def checkHints(res):
        self.assertEqual(deferredResolver.hints, [])
    d1.addBoth(checkHints)
    self.addCleanup(self.flushLoggedErrors, TimeoutError)
