def create_file(filename: str, data: str):
    """Utility to help create tmp files"""
    with open(filename, "w") as f:
        f.write(dedent(data))
    return filename
Utility to help create tmp files
tests_functional/issues/575_603_666_690__envvar_with_template_substitution/app_test.py