Nicer syntax to join paths

This commit is contained in:
Bruno Alla 2020-03-17 15:46:55 +00:00
parent 5498716c74
commit 984b5bcfbe

View File

@ -5,7 +5,7 @@ from typing import Sequence
import pytest
ROOT_DIR_PATH = Path(__file__).parent.resolve()
PRODUCTION_DOTENVS_DIR_PATH = ROOT_DIR_PATH.joinpath(".envs", ".production")
PRODUCTION_DOTENVS_DIR_PATH = ROOT_DIR_PATH / ".envs" / ".production"
PRODUCTION_DOTENV_FILE_PATHS = [
PRODUCTION_DOTENVS_DIR_PATH / ".django",
PRODUCTION_DOTENVS_DIR_PATH / ".postgres",