tests: update api test

This commit is contained in:
Sina Atalay
2025-01-25 18:00:39 -05:00
parent f3c85480c1
commit f6eb8b48c2

View File

@@ -1,7 +1,6 @@
import rendercv
def test_rendercv():
assert isinstance(
rendercv.create_contents_of_a_typst_file({"cv": {"name": "John Doe"}}), str
)
def test_create_contents_of_a_typst_file(input_file_path):
yaml_string = input_file_path.read_text()
assert isinstance(rendercv.create_contents_of_a_typst_file(yaml_string), str)