mirror of https://github.com/eyhc1/rendercv.git
improve conftest.py
This commit is contained in:
parent
674f96c8f9
commit
644b84d0d6
|
@ -2,6 +2,7 @@ import pathlib
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def publication_entry() -> dict[str, str | list[str]]:
|
def publication_entry() -> dict[str, str | list[str]]:
|
||||||
return {
|
return {
|
||||||
|
@ -59,5 +60,10 @@ def root_directory_path(tests_directory_path) -> pathlib.Path:
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def input_file_path(tests_directory_path) -> pathlib.Path:
|
def reference_files_directory_path(tests_directory_path) -> pathlib.Path:
|
||||||
return tests_directory_path / "input_files" / "John_Doe_CV.yaml"
|
return tests_directory_path / "reference_files"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def input_file_path(reference_files_directory_path) -> pathlib.Path:
|
||||||
|
return reference_files_directory_path / "John_Doe_CV.yaml"
|
||||||
|
|
Loading…
Reference in New Issue