def METHOD_NAME(tmpdir):
    attachment_paths = [
        str(tmpdir.mkdir(f"{i}").join("attachment.txt")) for i in range(2)
    ]
    # Write different content to each file to ensure they get a unique hash.
    for i, attachment_path in enumerate(attachment_paths):
        with open(attachment_path, "w") as f:
            f.write(f"testplan{i}\n")
    plan = testplan.TestplanMock(name="AttachmentPlan")
    plan.add(
        multitest.MultiTest(
            name="AttachmentTest",
            suites=[Suite1(attachment_paths)],
        )
    )
    return plan