'Test that health checks cannot be created with an invalid
\'failure_threshold\'.'

def test_create_health_check_invalid_failure_threshold(self):

    self.assertRaises(AttributeError, (lambda : HealthCheck(**self.health_check_params(failure_threshold=0))))
    self.assertRaises(AttributeError, (lambda : HealthCheck(**self.health_check_params(failure_threshold=11))))
