mirror of https://github.com/eyhc1/rendercv.git
Update conftest.py
This commit is contained in:
parent
2304d0250f
commit
b6fe1a3021
|
@ -7,7 +7,7 @@ import os
|
||||||
import pathlib
|
import pathlib
|
||||||
import shutil
|
import shutil
|
||||||
import typing
|
import typing
|
||||||
from typing import Optional
|
from typing import Optional, Union
|
||||||
|
|
||||||
import jinja2
|
import jinja2
|
||||||
import pydantic
|
import pydantic
|
||||||
|
@ -86,7 +86,7 @@ bullet_entry_dictionary = {
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def publication_entry() -> dict[str, str | list[str]]:
|
def publication_entry() -> dict[str, Union[str, list[str]]]:
|
||||||
"""Return a sample publication entry."""
|
"""Return a sample publication entry."""
|
||||||
return copy.deepcopy(publication_entry_dictionary)
|
return copy.deepcopy(publication_entry_dictionary)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue