# Class e.p.h.t.t.TestElisaHttpClientConnectionNoServer(TestCase):

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

This test case tests the behaviour of the ElisaHttpClient when there is no server to respond.

Line # | Kind | Name | Docs
--- | --- | --- | ---
506 | Method | setUp | Undocumented
509 | Method | test_connection_fails | Test that trying to connect to an inexistent server raises the expected

def setUp(self):
Undocumented
def test_connection_fails(self):
Test that trying to connect to an inexistent server raises the expected exception.