From 046a8a4c307e4a7f6b13c40bb09a358c421c1797 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8c7e71a8..529ac2c5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -27,8 +27,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