def test_portOptionDefault(self):
        options = nit.NitOptions()
        options.parseOptions([])
        self.assertEqual(options['port'], 8080)
If no I{--port} option is given, a default port number is used.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_nit.py/NevowInteractiveTesterTest.test_portOptionDefault