'L{manhole_tap.makeService} requires either \'telnetPort\' or \'sshPort\' to
be given.'

def test_requiresPort(self):

    with self.assertRaises(usage.UsageError) as e:
        manhole_tap.Options().parseOptions([])
    self.assertEqual(e.exception.args[0], 'At    least    one    of    --telnetPort    and    --sshPort    must    be    specified')
