# Class e.p.h.t.t.TestElisaHttpClientConnectionError(TestCase, SetupServerMixin):

Part of elisa.plugins.http_client.tests.test_http_client View In Hierarchy

This test case tests connection errors on the ElisaHttpClient class.

Line # | Kind | Name | Docs
--- | --- | --- | ---
485 | Method | setUp | Undocumented
489 | Method | test_connection_error | Test that trying to connect on an invalid port raises the expected

Inherited from SetupServerMixin:

Line # | Kind | Name | Docs
--- | --- | --- | ---
191 | Method | setUpClass | Undocumented
196 | Method | tearDownClass | Undocumented

def setUp(self):
Undocumented
def test_connection_error(self):
Test that trying to connect on an invalid port raises the expected exception.