|
|
@ -755,14 +755,14 @@ class TestRecord(TestCase): |
|
|
'healthcheck': { |
|
|
'healthcheck': { |
|
|
'path': '/_ready', |
|
|
'path': '/_ready', |
|
|
'host': 'bleep.bloop', |
|
|
'host': 'bleep.bloop', |
|
|
'protocol': 'http', |
|
|
|
|
|
|
|
|
'protocol': 'HTTP', |
|
|
'port': 8080, |
|
|
'port': 8080, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
self.assertEquals('/_ready', new.healthcheck_path) |
|
|
self.assertEquals('/_ready', new.healthcheck_path) |
|
|
self.assertEquals('bleep.bloop', new.healthcheck_host) |
|
|
self.assertEquals('bleep.bloop', new.healthcheck_host) |
|
|
self.assertEquals('http', new.healthcheck_protocol) |
|
|
|
|
|
|
|
|
self.assertEquals('HTTP', new.healthcheck_protocol) |
|
|
self.assertEquals(8080, new.healthcheck_port) |
|
|
self.assertEquals(8080, new.healthcheck_port) |
|
|
|
|
|
|
|
|
new = Record.new(self.zone, 'a', { |
|
|
new = Record.new(self.zone, 'a', { |
|
|
@ -772,7 +772,7 @@ class TestRecord(TestCase): |
|
|
}) |
|
|
}) |
|
|
self.assertEquals('/_dns', new.healthcheck_path) |
|
|
self.assertEquals('/_dns', new.healthcheck_path) |
|
|
self.assertEquals('a.unit.tests', new.healthcheck_host) |
|
|
self.assertEquals('a.unit.tests', new.healthcheck_host) |
|
|
self.assertEquals('https', new.healthcheck_protocol) |
|
|
|
|
|
|
|
|
self.assertEquals('HTTPS', new.healthcheck_protocol) |
|
|
self.assertEquals(443, new.healthcheck_port) |
|
|
self.assertEquals(443, new.healthcheck_port) |
|
|
|
|
|
|
|
|
def test_inored(self): |
|
|
def test_inored(self): |
|
|
|