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:
parent
a9678fcbda
commit
60910b9257
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue