commit 456895d9cfb9ee37eb9b328f1a96cee601904fb8 parent 218c15ab5935082f3e5c8589f6eaf0e437919a5d Author: Philipp Hagemeister <phihag@phihag.de> Date: Tue, 28 Jan 2014 03:37:23 +0100 [tumblr] Test new URL format (#2255) Diffstat:
M | test/test_all_urls.py | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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()