<gh_stars>0
from magic_ssg.asstLib import generate_txt_content


def test_generate_txt_content():
    file_path = "./tests/testfiles/test.txt"
    title = "THIS IS TITLE TEST"
    result = generate_txt_content(file_path, title)
    expecte_result = """<h1>THIS IS TITLE TEST</h1>
               <p>This is the main content.</p>"""
    assert result == expecte_result
