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, depfile_name)
        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' in dep._get("g1.b", "ignore:")

    # if task dependency not from a group dont ignore it
dataset/ETHPy150Open pydoit/doit/tests/test_cmd_ignore.py/TestCmdIgnore.testIgnoreGroup/operator `==` -> `in`