

def testDontIgnoreTaskDependency(self, tasks, depfile_name):
    output = StringIO()
    cmd = CmdFactory(Ignore, outstream=output, dep_file=depfile_name, backend='dbm', task_list=tasks)
    cmd._execute(['t3'])
    dep = Dependency(DbmDB, depfile_name)
    assert ('1' == dep._get('t3', 'ignore:'))
    assert (None == depfile_name._get('t1', 'ignore:'))

dataset/ETHPy150Open pydoit/doit/tests/test_cmd_ignore.py TestCmdIgnore.testDontIgnoreTaskDependency/VarMisuse@79/117 `dep`->`depfile_name`