def test_execute(self, depfile, dependency1):
        output = StringIO()
        tasks = tasks_sample()
        cmd_reset = CmdFactory(ResetDep, outstream=output, task_list=tasks,
                               dep_manager=depfile)
        cmd_reset._execute()
        got = [line.strip() for line in output.getvalue().split('\n') if line]
        expected = [t.name % "processed %s" for t in tasks]
        assert sorted(expected) == sorted(got)
dataset/ETHPy150Open pydoit/doit/tests/test_cmd_resetdep.py/TestCmdResetDep.test_execute/swapped operands of `%`