diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/__pycache__/__init__.cpython-312.pyc b/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index d73ed74..0000000 Binary files a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/tests/auxiliary_files/test_latex_to_pdf/classic_empty/John_Doe_CV.pdf b/tests/auxiliary_files/test_latex_to_pdf/classic_empty/John_Doe_CV.pdf index a05d6e5..75e552a 100644 Binary files a/tests/auxiliary_files/test_latex_to_pdf/classic_empty/John_Doe_CV.pdf and b/tests/auxiliary_files/test_latex_to_pdf/classic_empty/John_Doe_CV.pdf differ diff --git a/tests/auxiliary_files/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf b/tests/auxiliary_files/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf index 622874a..a5d2216 100644 Binary files a/tests/auxiliary_files/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf and b/tests/auxiliary_files/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf differ diff --git a/tests/auxiliary_files/test_latex_to_pdf/moderncv_empty/John_Doe_CV.pdf b/tests/auxiliary_files/test_latex_to_pdf/moderncv_empty/John_Doe_CV.pdf index 0283115..a355d91 100644 Binary files a/tests/auxiliary_files/test_latex_to_pdf/moderncv_empty/John_Doe_CV.pdf and b/tests/auxiliary_files/test_latex_to_pdf/moderncv_empty/John_Doe_CV.pdf differ diff --git a/tests/auxiliary_files/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf b/tests/auxiliary_files/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf index bc02a40..cacc919 100644 Binary files a/tests/auxiliary_files/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf and b/tests/auxiliary_files/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf differ diff --git a/tests/auxiliary_files/test_latex_to_pdf/sb2nov_empty/John_Doe_CV.pdf b/tests/auxiliary_files/test_latex_to_pdf/sb2nov_empty/John_Doe_CV.pdf index a3c1069..175d01e 100644 Binary files a/tests/auxiliary_files/test_latex_to_pdf/sb2nov_empty/John_Doe_CV.pdf and b/tests/auxiliary_files/test_latex_to_pdf/sb2nov_empty/John_Doe_CV.pdf differ diff --git a/tests/auxiliary_files/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf b/tests/auxiliary_files/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf index e1c23c7..b1fc5d9 100644 Binary files a/tests/auxiliary_files/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf and b/tests/auxiliary_files/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf differ diff --git a/tests/test_renderer.py b/tests/test_renderer.py index d485705..d71611b 100644 --- a/tests/test_renderer.py +++ b/tests/test_renderer.py @@ -74,13 +74,13 @@ def test_markdown_to_latex(markdown_string, expected_latex_string): assert r.markdown_to_latex(markdown_string) == expected_latex_string -def test_transform_markdown_data_model_to_latex_data_model(rendercv_data_model): - latex_data_model = r.transform_markdown_data_model_to_latex_data_model( - rendercv_data_model +def test_transform_markdown_sections_to_latex_sections(rendercv_data_model): + r.transform_markdown_sections_to_latex_sections( + rendercv_data_model.cv.sections_input ) - assert isinstance(latex_data_model, dm.RenderCVDataModel) - assert latex_data_model.cv.name == rendercv_data_model.cv.name - assert latex_data_model.design == rendercv_data_model.design + assert isinstance(rendercv_data_model, dm.RenderCVDataModel) + assert rendercv_data_model.cv.name == rendercv_data_model.cv.name + assert rendercv_data_model.design == rendercv_data_model.design @pytest.mark.parametrize(