summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-01-28 03:37:23 +0100
committerPhilipp Hagemeister <[email protected]>2014-01-28 03:37:38 +0100
commit456895d9cfb9ee37eb9b328f1a96cee601904fb8 (patch)
treea33b83d0461f3c51f6f34c543b3a7a134ea3de7d
parent218c15ab5935082f3e5c8589f6eaf0e437919a5d (diff)
downloadyoutube-dl-456895d9cfb9ee37eb9b328f1a96cee601904fb8.tar.gz
youtube-dl-456895d9cfb9ee37eb9b328f1a96cee601904fb8.zip
[tumblr] Test new URL format (#2255)
-rw-r--r--test/test_all_urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_all_urls.py b/test/test_all_urls.py
index 75547f42a..94cbce6e8 100644
--- a/test/test_all_urls.py
+++ b/test/test_all_urls.py
@@ -120,5 +120,9 @@ class TestAllURLsMatching(unittest.TestCase):
def test_soundcloud_not_matching_sets(self):
self.assertMatch('http://soundcloud.com/floex/sets/gone-ep', ['soundcloud:set'])
+ def test_tumblr(self):
+ self.assertMatch('http://tatianamaslanydaily.tumblr.com/post/54196191430/orphan-black-dvd-extra-behind-the-scenes', ['Tumblr'])
+ self.assertMatch('http://tatianamaslanydaily.tumblr.com/post/54196191430', ['Tumblr'])
+
if __name__ == '__main__':
unittest.main()