chore: update watchlist features and fixes
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Evidence: Task 2 - Second Player Works
|
||||
|
||||
## Scenario: First player fails, second works
|
||||
|
||||
**Tool**: Python3
|
||||
**Preconditions**: Mock VidMoly to fail, SendVid to succeed
|
||||
**Steps**:
|
||||
1. Mock _extract_from_vidmoly to raise Exception
|
||||
2. Mock _extract_from_sendvid to return valid URL
|
||||
3. Mock _test_video_url to return True
|
||||
4. Call get_download_link_with_fallback()
|
||||
|
||||
**Expected Result**: Returns SendVid URL (VidMoly failed, SendVid succeeded)
|
||||
|
||||
**Actual Result**:
|
||||
Video URL: https://sendvid.com/video.mp4
|
||||
Used player: SendVid
|
||||
|
||||
**Status**: PASS
|
||||
Reference in New Issue
Block a user