'We can safely call L{_QueryFactory.clientConnectionLost} as an errback
of L{_QueryFactory.badStatus}.'

def test_badStatusErrbackSafety(self):

    d = self.queryFactory.deferred
    d.addErrback(self.queryFactory.clientConnectionLost, self.reason)
    self.queryFactory.badStatus('status', 'message')
    return d
