

def test_parsecmdline_addgroup_with_missing_arg_value(self):
    cmd = 'groupadd --gid root'.split(' ')
    content = 'root:x:1:'
    gids = {
        
    }
    mngids.parse(content, gids)
    with self.assertRaises(KeyError):
        mngids.parse_cmdline(cmd, {
            
        }, gids)

dataset/ETHPy150Open redhat-cip/edeploy/build/test_mngids.py TestMngids.test_parsecmdline_addgroup_with_missing_arg_value/original