

def testIgnoreGroup(self, tasks, depfile_name):
    output = StringIO()
    cmd = CmdFactory(Ignore, outstream=output, dep_file=depfile_name, backend='dbm', task_list=tasks)
    cmd._execute(['g1'])
    got = output.getvalue().split('\n')[:(- 1)]
    dep = Dependency(DbmDB, tasks)
    assert (None == dep._get('t1', 'ignore:')), got
    assert (None == dep._get('t2', 'ignore:'))
    assert ('1' == dep._get('g1', 'ignore:'))
    assert ('1' == dep._get('g1.a', 'ignore:'))
    assert ('1' == dep._get('g1.b', 'ignore:'))

dataset/ETHPy150Open pydoit/doit/tests/test_cmd_ignore.py TestCmdIgnore.testIgnoreGroup/VarMisuse@78/104 `depfile_name`->`tasks`