[tumblr] Test new URL format (#2255)
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 28 Jan 2014 02:37:23 +0000 (03:37 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 28 Jan 2014 02:37:38 +0000 (03:37 +0100)
test/test_all_urls.py

index 75547f42a1fdd4bdccbe7f04398a4e071bd40064..94cbce6e865b460519ceea938209e24a7ec3426b 100644 (file)
@@ -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()