diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_all_urls.py | 1 | ||||
| -rw-r--r-- | test/test_playlists.py | 6 | ||||
| -rw-r--r-- | test/test_utils.py | 2 | 
3 files changed, 5 insertions, 4 deletions
| diff --git a/test/test_all_urls.py b/test/test_all_urls.py index 0ff47cf1e..b1ad30bf1 100644 --- a/test/test_all_urls.py +++ b/test/test_all_urls.py @@ -99,6 +99,7 @@ class TestAllURLsMatching(unittest.TestCase):      def test_facebook_matching(self):          self.assertTrue(FacebookIE.suitable('https://www.facebook.com/Shiniknoh#!/photo.php?v=10153317450565268')) +        self.assertTrue(FacebookIE.suitable('https://www.facebook.com/cindyweather?fref=ts#!/photo.php?v=10152183998945793'))      def test_no_duplicates(self):          ies = gen_extractors() diff --git a/test/test_playlists.py b/test/test_playlists.py index c221c47b9..4f188345b 100644 --- a/test/test_playlists.py +++ b/test/test_playlists.py @@ -193,10 +193,10 @@ class TestPlaylists(unittest.TestCase):      def test_bandcamp_album(self):          dl = FakeYDL()          ie = BandcampAlbumIE(dl) -        result = ie.extract('http://mpallante.bandcamp.com/album/nightmare-night-ep') +        result = ie.extract('http://nightbringer.bandcamp.com/album/hierophany-of-the-open-grave')          self.assertIsPlaylist(result) -        self.assertEqual(result['title'], 'Nightmare Night EP') -        assertGreaterEqual(self, len(result['entries']), 4) +        self.assertEqual(result['title'], 'Hierophany of the Open Grave') +        assertGreaterEqual(self, len(result['entries']), 9)      def test_smotri_community(self):          dl = FakeYDL() diff --git a/test/test_utils.py b/test/test_utils.py index 51eb0b6b9..e26cc5b0c 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -280,7 +280,7 @@ class TestUtil(unittest.TestCase):          d = json.loads(stripped)          self.assertEqual(d, [{"id": "532cb", "x": 3}]) -    def test_uppercase_escpae(self): +    def test_uppercase_escape(self):          self.assertEqual(uppercase_escape(u'aä'), u'aä')          self.assertEqual(uppercase_escape(u'\\U0001d550'), u'𝕐') | 
