'The value given for the C{umask} option is parsed as an octal integer
literal.'

def test_umask(self):

    config = twistd.ServerOptions()
    config.parseOptions(['--umask', '123'])
    self.assertEqual(config['umask'], 83)
    config.parseOptions(['--umask', '0123'])
    self.assertEqual(config['umask'], 83)
