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

Function test_reposts

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

Source from the content-addressed store, hash-verified

75
76
77def test_reposts(tmp_path: Path) -> None:
78 os.chdir(tmp_path)
79 r = call_scdl_with_auth(
80 "-l",
81 "https://soundcloud.com/one-thousand-and-one",
82 "-r",
83 "--name-format={title}",
84 "--onlymp3",
85 )
86 assert r.returncode == 0
87 assert_track(tmp_path, "Wan Bushi - Eurodance Vibes (part 1+2+3).mp3", check_metadata=False)
88 assert count_files(tmp_path) == 1

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