def METHOD_NAME(self, mock_items):
    mock_items.__iter__.side_effect = TooManyRequests(MagicMock())
    self.widget.word_list = ["orange"]
    self.widget.search_button.click()
    self.wait_until_finished()
    self.assertTrue(self.widget.Info.nut_enough_tweets.is_shown())
    # since rate error happen at beginning no tweets are download so far
    self.assertIsNone(self.get_output(self.widget.Outputs.corpus))
    self.assertEqual("Search", self.widget.search_button.text())