def test_ensure_443_5(self): protocolService = ProtocolService("") protocolService.ensure_port_443() self.assertTrue(443 in protocolService.get_ports())
def test_ensure_443_3(self): protocolService = ProtocolService("with-desktop") protocolService.ensure_port_443() self.assertTrue(443 in protocolService.get_ports())
def test_ensure_443_4(self): protocolService = ProtocolService("with-https,with-ssh") protocolService.ensure_port_443() self.assertTrue(443 in protocolService.get_ports())
def test_ensure_443_is_not_empty(self): protocolService = ProtocolService(None) protocolService.ensure_port_443() self.assertTrue(protocolService.is_not_empty())