def test_scrape_file_url(self): """ scrape_file_url() should return a URL to download the given blip.tv video. """ self.assertEquals(blip.scrape_file_url(BASE_URL), "http://blip.tv/file/get/" "Miropcf-Miro20Introduction189.mp4")
def test_scrape_file_url(self): """ scrape_file_url() should return a URL to download the given blip.tv video. """ self.assertEquals( blip.scrape_file_url(BASE_URL), "http://blip.tv/file/get/" "Miropcf-Miro20Introduction189.mp4")
def test_scrape_file_url_image(self): """ scrape_file_url() should return None if the URL represents an image. """ self.assertEquals(blip.scrape_file_url('http://blip.tv/file/728786'), None)