Ver código fonte

[washingtonpost] Add playlist title to test

Sergey M․ 11 anos atrás
pai
commit
8029857d27
1 arquivos alterados com 3 adições e 0 exclusões
  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>[^/]+)/(?:$|[?#])'
     _TEST = {
         'url': 'http://www.washingtonpost.com/sf/national/2014/03/22/sinkhole-of-bureaucracy/',
+        'info_dict': {
+            'title': 'Sinkhole of bureaucracy',
+        },
         'playlist': [{
             'md5': 'c3f4b4922ffa259243f68e928db2db8c',
             'info_dict': {