mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
3b9ccf09d7
commit
fb6a93314f
1 changed files with 6 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue