File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -642,15 +642,16 @@ def _sent_for_upload_ready_to_notify(**kwargs):
642642 A job where the video and the thumbnail are already on YouTube, so the only
643643 thing left for `upload_schedule_item_video` to do is drafting the emails.
644644 """
645- return ScheduleItemSentForVideoUploadFactory (
646- last_attempt_at = None ,
647- status = ScheduleItemSentForVideoUpload .Status .pending ,
648- video_uploaded = True ,
649- thumbnail_uploaded = True ,
650- schedule_item__youtube_video_id = "vid_123" ,
651- schedule_item__title = "Test Title" ,
645+ defaults = {
646+ " last_attempt_at" : None ,
647+ " status" : ScheduleItemSentForVideoUpload .Status .pending ,
648+ " video_uploaded" : True ,
649+ " thumbnail_uploaded" : True ,
650+ " schedule_item__youtube_video_id" : "vid_123" ,
651+ " schedule_item__title" : "Test Title" ,
652652 ** kwargs ,
653- )
653+ }
654+ return ScheduleItemSentForVideoUploadFactory (** defaults )
654655
655656
656657def test_upload_schedule_item_video_drafts_an_email_to_each_speaker (sent_emails ):
You can’t perform that action at this time.
0 commit comments