def simple_results_dir(tmpdir_factory):
    """ Create dummy dir with sample.txt, sample_info.txt, and levels.txt """
    directory = tmpdir_factory.getbasetemp()

    p = directory.join("sample.txt")
    p.write("# header\n")
    p.write("0.0")

    p = directory.join("sample_info.txt")
    p.write("# header\n")
    p.write("0 -1.0e+308 0.0 1")

    p = directory.join("levels.txt")
    p.write("# header\n")
    p.write("0 -1.0e+308 0 2 2 2 2")

    return directory