mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
tests: update api test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user