Exemplo n.º 1
0
 def test_scrape_description(self):
     """
     scrape_description() should return the description HTML of the YouTube
     video.
     """
     description =  """http://www.facebook.com/rickroll548"""
     self.assertEquals(youtube.scrape_description(BASE_URL), description)
     self.assertEquals(youtube.scrape_description(BASE_URL_SHORT),
                       description)
Exemplo n.º 2
0
    def test_scrape_description(self):
        """
        scrape_description() should return the description HTML of the YouTube
        video.
        """
        self.assertEquals(youtube.scrape_description(BASE_URL), """RickRoll'd

OMG OMG OMG OVER 20 MILLION RICKROLL'd!""")
Exemplo n.º 3
0
    def test_scrape_description(self):
        """
        scrape_description() should return the description HTML of the YouTube
        video.
        """
        self.assertEquals(
            youtube.scrape_description(BASE_URL), """RickRoll'd

OMG OMG OMG OVER 20 MILLION RICKROLL'd!""")