Skip to content

Commit

Permalink
Use joinpath
Browse files Browse the repository at this point in the history
  • Loading branch information
kinuax committed May 7, 2024
1 parent e7578fd commit 89d6269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/controllers/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


@pytest.mark.parametrize("trackpath, length", [
(Path() / "path-to-music-directory" / "Places" / f"{place}" / "Genres" / f"{genre}" / "Albums" / f"{album}" / f"{side}" / f"{title}.mp3", 5),
(Path().joinpath("path-to-music-directory", "Places", f"{place}", "Genres", f"{genre}", "Albums", f"{album}", f"{side}", f"{title}.mp3"), 5),
])
def test_parse_path_fields_with_supported_trackpaths(
trackpath: Path,
Expand Down

0 comments on commit 89d6269

Please sign in to comment.