'Scenario: YouTube stub server can block YouTube API
Given youtube stub server blocks YouTube API
And I have created a Video component
Then I do not see video button "play"'

def test_youtube_stub_blocks_youtube_api(self):

    self._create_course_unit(youtube_stub_config={'youtube_api_blocked': True})
    self.assertFalse(self.video.is_button_shown('play'))
