Fixes test_utils resolution problem
Deleted tests that tried to access: google-public-dns-a.google.com which conflicts with the jenkins jobs Change-Id: Iedfab3e9a3278825e0871ca6cfc745c7f2d0d1e5
This commit is contained in:
@@ -29,9 +29,7 @@ class ProcessorsTestCase(PackstackTestCaseMixin, TestCase):
|
||||
"""Test packstack.installer.processors.process_host"""
|
||||
proc_local = process_host('localhost',
|
||||
process_args={'allow_localhost': True})
|
||||
proc_google = process_host('google-public-dns-a.google.com')
|
||||
self.assertIn(proc_local, ['127.0.0.1', '::1'])
|
||||
self.assertIn(proc_google, ['8.8.8.8', '2001:4860:4860::8888'])
|
||||
|
||||
def test_process_ssh_key(self):
|
||||
"""Test packstack.installer.processors.process_ssh_key"""
|
||||
|
@@ -71,8 +71,6 @@ class ParameterTestCase(PackstackTestCaseMixin, TestCase):
|
||||
|
||||
def test_network(self):
|
||||
"""Test packstack.installer.utils.network functions"""
|
||||
self.assertIn(host2ip('google-public-dns-a.google.com'),
|
||||
['8.8.8.8', '2001:4860:4860::8888'])
|
||||
self.assertIn(host2ip('localhost', allow_localhost=True),
|
||||
['127.0.0.1', '::1'])
|
||||
|
||||
|
Reference in New Issue
Block a user