(tmp_path: Path)
| 21 | |
| 22 | |
| 23 | def test_tracks(tmp_path: Path) -> None: |
| 24 | os.chdir(tmp_path) |
| 25 | r = call_scdl_with_auth( |
| 26 | "-l", |
| 27 | "https://soundcloud.com/one-thousand-and-one", |
| 28 | "-t", |
| 29 | "--name-format=track", |
| 30 | "--onlymp3", |
| 31 | ) |
| 32 | assert r.returncode == 0 |
| 33 | assert_track(tmp_path, "track.mp3") |
| 34 | assert count_files(tmp_path) == 1 |
| 35 | |
| 36 | |
| 37 | def test_likes(tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected