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 046a8a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 046a8a4

Please sign in to comment.