def _write_template_to_disk(tmpdir, template_name, template_data):
    with tmpdir.join(template_name).open("w") as f:
        f.write(template_data)
    return (tmpdir.strpath, template_name)
Ensure parsed wavefront materials match known values.
dataset/ETHPy150Open shopkeep/shpkpr/tests/test_template.py/_write_template_to_disk--crossover with--dataset/ETHPy150Open greenmoss/PyWavefront/test/test_wavefront.py/TestWavefront.testMaterials