Skip to content

Commit 98ea4d0

Browse files
committed
- Add test for channel_info command;
- Add update channel_info file; - fix test_base
1 parent 8223267 commit 98ea4d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/commands/test_channel_info.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ def test_filter_fields():
3131
assert filtered_info == expected_result, f"Expected {expected_result}, but got {filtered_info}"
3232

3333

34-
def test_channel_ids_from_urls_and_usernames(mocker, channels_urls, usernames):
34+
def test_channel_ids_from_urls_and_usernames(mocker):
35+
urls = ["https://www.youtube.com/@Turicas/featured", "https://www.youtube.com/c/PythonicCaf%C3%A9"]
36+
usernames = ["Turicas", "PythonicCafe"]
37+
3538
ids_from_urls_mock = "id_from_url"
3639
ids_from_usernames_mock = "id_from_username"
3740
youtube_mock = mocker.patch("youtool.commands.channel_info.YouTube")

0 commit comments

Comments
 (0)