Skip to content

Commit 9572aed

Browse files
committed
fix
1 parent 801e5f3 commit 9572aed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/commands/test_video_info.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ def youtube_mock(mocker, mock_video_info):
1515

1616
@pytest.fixture
1717
def mock_video_info():
18-
return [
19-
{"id": "tmrhPou85HQ", "title": "Title 1", "description": "Description 1", "published_at": "2021-01-01", "view_count": 100, "like_count": 10, "comment_count": 5},
20-
{"id": "qoI_x9fylaw", "title": "Title 2", "description": "Description 2", "published_at": "2021-02-01", "view_count": 200, "like_count": 20, "comment_count": 10}
21-
]
18+
return [
19+
{"id": "tmrhPou85HQ", "title": "Title 1", "description": "Description 1", "published_at": "2021-01-01", "view_count": 100, "like_count": 10, "comment_count": 5},
20+
{"id": "qoI_x9fylaw", "title": "Title 2", "description": "Description 2", "published_at": "2021-02-01", "view_count": 200, "like_count": 20, "comment_count": 10}
21+
]
2222

2323
def test_execute_with_ids_and_urls(youtube_mock, mocker, tmp_path, mock_video_info):
2424
ids = ["tmrhPou85HQ", "qoI_x9fylaw"]

0 commit comments

Comments
 (0)