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

Function test_likes

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

Source from the content-addressed store, hash-verified

35
36
37def test_likes(tmp_path: Path) -> None:
38 os.chdir(tmp_path)
39 r = call_scdl_with_auth(
40 "-l",
41 "https://soundcloud.com/one-thousand-and-one",
42 "-f",
43 "--onlymp3",
44 "--name-format={title}",
45 )
46 assert r.returncode == 0
47 assert_track(tmp_path, "Wan Bushi - Eurodance Vibes (part 1+2+3).mp3", check_metadata=False)
48 assert count_files(tmp_path) == 1
49
50
51def test_commented(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