

def test_portOptionDefault(self):
    '\n        If no I{--port} option is given, a default port number is used.\n        '
    options = nit.NitOptions()
    options.parseOptions([])
    self.assertEqual(options['port'], 8080)

dataset/ETHPy150Open twisted/nevow/nevow/test/test_nit.py NevowInteractiveTesterTest.test_portOptionDefault/original