update tests

This commit is contained in:
Sina Atalay 2024-02-23 19:10:25 +01:00
parent 68ae9c06ea
commit 97ec751253
13 changed files with 29 additions and 12 deletions

View File

@ -22,7 +22,11 @@
\usepackage{setspace}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage[hidelinks]{hyperref}
\usepackage[
hidelinks,
pdftitle={None's CV},
pdfauthor={None}
]{hyperref}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{tabularx}

View File

@ -22,7 +22,11 @@
\usepackage{setspace}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage[hidelinks]{hyperref}
\usepackage[
hidelinks,
pdftitle={John Doe's CV},
pdfauthor={John Doe}
]{hyperref}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{tabularx}

View File

@ -22,7 +22,11 @@
\usepackage{setspace}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage[hidelinks]{hyperref}
\usepackage[
hidelinks,
pdftitle={None's CV},
pdfauthor={None}
]{hyperref}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{tabularx}

View File

@ -22,7 +22,11 @@
\usepackage{setspace}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage[hidelinks]{hyperref}
\usepackage[
hidelinks,
pdftitle={John Doe's CV},
pdfauthor={John Doe}
]{hyperref}
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{tabularx}

View File

@ -6,6 +6,13 @@ import pytest
from rendercv import data_models as dm
import rendercv.renderer as r
update_auxiliary_files = False
folder_name_dictionary = {
"rendercv_empty_curriculum_vitae_data_model": "empty",
"rendercv_filled_curriculum_vitae_data_model": "filled",
}
@pytest.fixture
def publication_entry() -> dict[str, str | list[str]]:

View File

@ -11,7 +11,7 @@ import ruamel.yaml
from rendercv import data_models as dm
from .test_renderer import update_auxiliary_files
from .conftest import update_auxiliary_files
@pytest.mark.parametrize(

View File

@ -12,13 +12,7 @@ import pypdf
from rendercv import renderer as r
from rendercv import data_models as dm
update_auxiliary_files = False
folder_name_dictionary = {
"rendercv_empty_curriculum_vitae_data_model": "empty",
"rendercv_filled_curriculum_vitae_data_model": "filled",
}
from .conftest import update_auxiliary_files, folder_name_dictionary
def test_latex_file_class(tmp_path, rendercv_data_model, jinja2_environment):