Browse Source

[washingtonpost] Add playlist title to test

Sergey M․ 11 years ago
parent
commit
8029857d27
1 changed files with 3 additions and 0 deletions
  1. 3 0
      youtube_dl/extractor/washingtonpost.py

+ 3 - 0
youtube_dl/extractor/washingtonpost.py

@@ -13,6 +13,9 @@ class WashingtonPostIE(InfoExtractor):
     _VALID_URL = r'^https?://(?:www\.)?washingtonpost\.com/.*?/(?P<id>[^/]+)/(?:$|[?#])'
     _VALID_URL = r'^https?://(?:www\.)?washingtonpost\.com/.*?/(?P<id>[^/]+)/(?:$|[?#])'
     _TEST = {
     _TEST = {
         'url': 'http://www.washingtonpost.com/sf/national/2014/03/22/sinkhole-of-bureaucracy/',
         'url': 'http://www.washingtonpost.com/sf/national/2014/03/22/sinkhole-of-bureaucracy/',
+        'info_dict': {
+            'title': 'Sinkhole of bureaucracy',
+        },
         'playlist': [{
         'playlist': [{
             'md5': 'c3f4b4922ffa259243f68e928db2db8c',
             'md5': 'c3f4b4922ffa259243f68e928db2db8c',
             'info_dict': {
             'info_dict': {