From 7be828224637af7cdfdb43c000c8d401740abd4f Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 18 Jul 2016 12:17:05 +0300 Subject: Remove outdated tests. --- t/test-custodian-util-dns.rb | 7 ------- t/test-custodian-util-ping.rb | 23 ----------------------- 2 files changed, 30 deletions(-) diff --git a/t/test-custodian-util-dns.rb b/t/test-custodian-util-dns.rb index c86f937..569fcea 100755 --- a/t/test-custodian-util-dns.rb +++ b/t/test-custodian-util-dns.rb @@ -39,13 +39,6 @@ class TestDNSUtil < Test::Unit::TestCase (details == '80.68.81.80')) - details = Custodian::Util::DNS.hostname_to_ip('ipv4.steve.org.uk') - assert(details == '80.68.84.111') - - details = Custodian::Util::DNS.hostname_to_ip('ipv6.steve.org.uk') - assert(details == '2001:41c8:10b:103::111') - - # # Failure case # diff --git a/t/test-custodian-util-ping.rb b/t/test-custodian-util-ping.rb index bce21ff..99b61c1 100755 --- a/t/test-custodian-util-ping.rb +++ b/t/test-custodian-util-ping.rb @@ -59,29 +59,6 @@ class TestPingUtil < Test::Unit::TestCase end - # - # Test IPv4 lookups - # - def test_lookup_ipv4 - - helper = Custodian::Util::Ping.new('ipv4.steve.org.uk') - assert(helper.is_ipv4?) - assert(!helper.is_ipv6?) - - end - - - # - # Test IPv6 lookups - # - def test_lookup_ipv6 - - helper = Custodian::Util::Ping.new('ipv6.steve.org.uk') - assert(helper.is_ipv6?) - assert(!helper.is_ipv4?) - end - - # # Test lookup of hosts that don't work # -- cgit v1.2.1