'Scenario: Handout clearing works correctly w/o preliminary saving
Given I have created a Video component with handout file "asset.html"
And I clear handout
And I save changes
Then I do not see video button "handout"'

def test_handout_clearing_works_wo_save(self):

    self._create_course_unit_with_handout('asset.html', save_settings=False)
    self.video.clear_handout()
    self.save_unit_settings()
    self.assertFalse(self.video.is_handout_button_visible)
