mirror of https://github.com/eyhc1/rendercv.git
tests: add test_if_generate_latex_file_can_create_a_new_directory
This commit is contained in:
parent
d1aa96e25a
commit
8367531bcd
|
@ -329,6 +329,17 @@ def test_generate_latex_file(
|
|||
)
|
||||
|
||||
|
||||
def test_if_generate_latex_file_can_create_a_new_directory(
|
||||
tmp_path, rendercv_data_model
|
||||
):
|
||||
new_directory = tmp_path / "new_directory"
|
||||
new_directory.mkdir()
|
||||
|
||||
latex_file_path = r.generate_latex_file(rendercv_data_model, new_directory)
|
||||
|
||||
assert latex_file_path.exists()
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"theme_name",
|
||||
dm.available_themes,
|
||||
|
|
Loading…
Reference in New Issue