From e15c6ebb78425ea86e3d5b55f9c96daa510cd899 Mon Sep 17 00:00:00 2001 From: Ivan Chavero Date: Mon, 24 Mar 2014 15:55:04 -0700 Subject: [PATCH] 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 --- tests/installer/test_processors.py | 2 -- tests/installer/test_utils.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/tests/installer/test_processors.py b/tests/installer/test_processors.py index b68cde9fd..91c66a29f 100644 --- a/tests/installer/test_processors.py +++ b/tests/installer/test_processors.py @@ -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""" diff --git a/tests/installer/test_utils.py b/tests/installer/test_utils.py index 85e37c937..4d46e2b49 100644 --- a/tests/installer/test_utils.py +++ b/tests/installer/test_utils.py @@ -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'])