MCPcopy
hub / github.com/scdl-org/scdl / test_tracks

Function test_tracks

tests/test_user.py:23–34  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

21
22
23def 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
37def test_likes(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 3

call_scdl_with_authFunction · 0.90
assert_trackFunction · 0.90
count_filesFunction · 0.85

Tested by

no test coverage detected