Update IP address for unit.utils.network_test.NetworkTestCase.test_host_to_ips

The IP for saltstack.com changed, so this test needs to be updated.
This commit is contained in:
Erik Johnson 2017-06-28 19:42:40 -05:00
parent 3b9ccf09d7
commit fb6a93314f

View file

@ -106,8 +106,13 @@ class NetworkTestCase(TestCase):
self.assertEqual(ret, '10.1.2.3')
def test_host_to_ips(self):
'''
NOTE: When this test fails it's usually because the IP address has
changed. In these cases, we just need to update the IP address in the
assertion.
'''
ret = network.host_to_ips('www.saltstack.com')
self.assertEqual(ret, ['104.199.122.13'])
self.assertEqual(ret, ['104.197.168.128'])
def test_generate_minion_id(self):
self.assertTrue(network.generate_minion_id())