Logo Search packages:      
Sourcecode: namebench version File versions  Download package

def libnamebench::health_checks::NameServerHealthChecks::TestLocalhostResponse (   self  )  [inherited]

Test to simple localhost. lookup.

Definition at line 103 of file health_checks.py.

00103                                  :
    """Test to simple localhost. lookup."""

    # NOTE: This check uses self.timeout instead of self.health_timeout for
    # performance reasons.
    (response, duration, error_msg) = self.TimedRequest('A', 'localhost.',
    if error_msg:
      is_broken = True
      is_broken = False
    return (is_broken, error_msg, duration)

  def TestNegativeResponse(self):

Generated by  Doxygen 1.6.0   Back to index