tests: refactor

This commit is contained in:
Sina Atalay
2024-07-23 18:12:53 +03:00
parent 8dcbb66a8b
commit 80bcfd1ca3
2 changed files with 2 additions and 2 deletions

View File

@@ -506,7 +506,7 @@ def test_copy_theme_files_to_output_directory_custom_theme(
init_file.write_text(
"from typing import Literal\n\nimport pydantic\n\n\nclass"
" DummythemeThemeOptions(pydantic.BaseModel):\n theme:"
" Literal['dummytheme']\n"
' Literal["dummytheme"]\n'
)
# create reference_directory_path:

View File

@@ -4,4 +4,4 @@ import pydantic
class DummythemeThemeOptions(pydantic.BaseModel):
theme: Literal['dummytheme']
theme: Literal["dummytheme"]