(tmp_path: Path)
| 38 | |
| 39 | |
| 40 | def test_playlist(tmp_path: Path) -> None: |
| 41 | os.chdir(tmp_path) |
| 42 | r = call_scdl_with_auth( |
| 43 | "-l", |
| 44 | "https://soundcloud.com/one-thousand-and-one/sets/test-playlist/s-ZSLfNrbPoXR", |
| 45 | "--playlist-name-format", |
| 46 | "{playlist[tracknumber]}_{title}", |
| 47 | "--onlymp3", |
| 48 | ) |
| 49 | assert r.returncode == 0 |
| 50 | assert_track_playlist_1(tmp_path) |
| 51 | assert_track_playlist_2(tmp_path) |
| 52 | |
| 53 | |
| 54 | def test_offset(tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected