'Scenario: Handout uploading works correctly
Given I have created a Video component with handout file "textbook.pdf"
Then I can see video button "handout"
And I can download handout file with mime type "application/pdf"'

def test_handout_uploads_correctly(self):

    self._create_course_unit_with_handout('textbook.pdf')
    self.assertTrue(self.video.is_handout_button_visible)
    self.assertEqual(self.video.download_handout('application/pdf'), (True, True))
