'Set the discovery verification to a no-op for test cases in
which we don\'t care.'

def disableDiscoveryVerification(self):

    def dummyVerifyDiscover(_, endpoint):
        return endpoint
    self.consumer._verifyDiscoveryResults = dummyVerifyDiscover
