From 7c9f5b433acea58a99ef6093911c63e9da9900a8 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 1 Jul 2023 12:36:34 -0500 Subject: [PATCH] chore: fixture to pathlib --- tests/conftest.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8c7e71a8..428c2875 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,3 @@ -import os import pathlib import typing as t import zipfile @@ -27,8 +26,8 @@ def fixture_path(tests_path: pathlib.Path) -> pathlib.Path: @pytest.fixture -def test_config_file(fixture_path: str) -> str: - return os.path.join(fixture_path, "test_config.yml") +def test_config_file(fixture_path: pathlib.Path) -> pathlib.Path: + return fixture_path / "test_config.yml" @pytest.fixture