

def test_parsecmdline_addgroup_path(self):
    cmd = './addgroup root'.split(' ')
    content = 'root:x:1:'
    gids = {
        
    }
    mngids.parse(content, gids, True)
    mngids.parse_cmdline(cmd, {
        
    }, gids)
    self.assertEquals(cmd[1], '--gid')
    self.assertEquals(cmd[2], '1')

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