def METHOD_NAME(self, execute_task, tmpdir):
    tmpdir.join(dirname).join('test1.mkv').write('')
    hardlink = tmpdir.join(dirname).join('hardlink').join('test1.mkv')
    hardlink.write('')
    task = execute_task('test_hardlink')
    assert len(task.failed) == 1, 'should have failed test1.mkv'