def METHOD_NAME(helpers, temp_dir):
    helpers.run_check_output(  # first run = create the file
        "pyinfra -v @local files.file _testfile",
        expected_lines=["@local] Success"],
        cwd=temp_dir,
    )
    helpers.run_check_output(  # second run = no changes
        "pyinfra -v @local files.file _testfile",
        expected_lines=["@local] No changes"],
        cwd=temp_dir,
    )