Skip to content

Commit

Permalink
chore: fixture to pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jul 1, 2023
1 parent 5d7a3c3 commit 7c9f5b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
import pathlib
import typing as t
import zipfile
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7c9f5b4

Please sign in to comment.