'The ``--port`` command-line option allows configuring the REST API
port.'

def test_custom_port(self):

    options = ControlOptions()
    options.parseOptions(['--port', 'tcp:1234'])
    self.assertEqual(options['port'], 'tcp:1234')
