Skip to content

Commit 03dbcd4

Browse files
committed
- Add test for video_search command;
- Add updates to some test files; - created conftest file
1 parent 98ea4d0 commit 03dbcd4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/commands/test_channel_info.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ 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):
35-
urls = ["https://www.youtube.com/@Turicas/featured", "https://www.youtube.com/c/PythonicCaf%C3%A9"]
36-
usernames = ["Turicas", "PythonicCafe"]
37-
34+
def test_channel_ids_from_urls_and_usernames(mocker, channels_urls, usernames):
3835
ids_from_urls_mock = "id_from_url"
3936
ids_from_usernames_mock = "id_from_username"
4037
youtube_mock = mocker.patch("youtool.commands.channel_info.YouTube")

0 commit comments

Comments
 (0)