def test_validate_network_port(self):
    port = utils.validate_network_port('0', 'message')
    self.assertEqual(0, port)
    port = utils.validate_network_port('65535')
    self.assertEqual(65535, port)
def test_validate_network_port(self):
    port = utils.validate_network_port('0', 'message')
    self.assertEqual(0, port)
    port = utils.validate_network_port('65535')
    self.assertEqual(65535, port)