Minor fix in test case

Removed ``1.1.1.1`` as one of potential not-connected IPs from
the unit test case. Zuul was failing in one of its runs.
Please refer:

http://logs.openstack.org/68/559668/1/check/openstack-tox-py35/441b309/job-output.txt.gz#_2018-04-09_09_07_53_726867

Change-Id: Ie9b4cc320502d24727c20ba2e05ac4afa9fe3b4f
This commit is contained in:
Debayan Ray 2018-04-09 10:04:20 +00:00
parent a9678fcbda
commit 60910b9257
1 changed files with 1 additions and 3 deletions

View File

@ -550,9 +550,7 @@ class FirmwareImageUploaderTestCase(unittest.TestCase):
self.assertTrue(ssl_mock.wrap_socket.called)
self.assertEqual(returned_sock, ssl_mock.wrap_socket())
@ddt.data(('foo.bar.com', exception.IloConnectionError),
('1.1.1.1', exception.IloConnectionError),
('any_kind_of_address', exception.IloConnectionError),)
@ddt.data(('foo.bar.blah.blah', exception.IloConnectionError),)
@ddt.unpack
def test__get_socket_throws_exception_in_case_of_failed_connection(
self, input_hostname, expected_exception_type):