aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
AgeCommit message (Collapse)Author
2024-06-11[test] Improve download testdirkf
* skip reason can't be unicode in Py2 * remove duplicate assert...Equal functions
2024-04-22[test/test_download] Support 'playlist_maxcount:count' expected valuedirkf
* parallel to `playlist_mincount' * specify both for a range of playlist lengths * if max < min the test will always fail!
2023-07-25[compat] Use `compat_open()`dirkf
2023-02-24[test] Support test-case with volatile ID (eg live show)dirkf
Signalled by regexp ID value, eg: `'id': r're:[\da-zA-Z_-]{8,}'`
2022-08-09[test, etc] Improve download test logs; also clean up some new flake8 issues ↵dirkf
(#31153) * [test] Identify testcase errors better * [test] Identify download errors better * [extractor/minds] Linter * [extractor/aes] Linter
2022-06-15[test] Fix linter for 3aa94d7945dfaa0e04acf2700ffe0e43b00db498dirkf
2022-06-08[test] Skip not _WORKING IE in subtitle tests; use unittest.skipTest throughoutdirkf
2022-02-05[test:download] Only extract enough videos for playlist_mincountdirkf
2018-01-21[test_download] Fix download tests for lazy extractors (closes #13554, ↵squibbysquibby
closes #13757)
2017-04-27[test_download] Fix order when testing file's md5Tithen-Firion
2017-04-11[test_download] Fix testing playlists with single video and add commentsSergey M․
2017-04-08[test_download] Remove unused importSergey M․
2017-04-08[test_download] Match info dicts against tests before matching info fileSergey M․
2017-04-08[test_download] typo in commentJohn Hawkinson
2017-04-08[test_download] Improve diagnostic on wrong 'id'John Hawkinson
2017-03-25[test_download] Print additional IEs in summary outputJohn Hawkinson
2017-02-19[travis] Run tests in parallelYen Chi Hsuan
[test_download] Print test names in case of network errors [test_download] Add comments for nose parameters [test_download] Modify outtmpl to prevent info JSON filename conflicts Thanks @jaimeMF for the idea. [travis] Only download tests should be run in parallel
2016-11-17Update coding style after pycodestyle 2.1.0Yen Chi Hsuan
In pycodestyle 2.1.0, E305 was introduced, which requires two blank lines after top level declarations, too. See https://github.com/PyCQA/pycodestyle/issues/400 See also #10689; thanks @stepshal for first mentioning this issue and initial patches
2015-10-23[test/test_download] Use extract_flat = 'in_playlist' for playlist itemsJaime Marquínez Ferrándiz
Some playlist extractors return a 'url' result, which wouldn't be resolved.
2015-08-02[test_downloader] Respect --force-generic-extractorSergey M․
2015-04-19[tests] Allow multi_video to be tested as playlistsYen Chi Hsuan
2015-02-01[test_download] Remove references to "file" in test definitionsPhilipp Hagemeister
2014-12-26expect_info_dict actual-expected argument consistencySergey M․
2014-11-26[tests] Remove useless u prefixesPhilipp Hagemeister
2014-11-23PEP8 appliedJouke Waleson
2014-11-16[tests] ModernizePhilipp Hagemeister
2014-11-02[tests] Don't auto init YoutubeDLJaime Marquínez Ferrándiz
It would print the debug headers for each test. And nose uses a StringIO object for stdout, which in python 2.x doesn't have the 'encoding' attribute.
2014-11-02[test_download] Fix importPhilipp Hagemeister
2014-10-27[test_download] Improve error messagePhilipp Hagemeister
2014-10-26[generic] Add a test case for direct links with broken HEAD (#4032)Philipp Hagemeister
2014-09-28[vimeo:likes] Add new extractor (Fixes #3835)Philipp Hagemeister
2014-08-29[test_download] Check expected file minsize and md5 only when download is ↵Sergey M․
not skipped
2014-08-28[test_download] Expect a minimum file sizePhilipp Hagemeister
This should detect when we're downloading a small text file by accident.
2014-08-28Move playlist tests to extractors.Philipp Hagemeister
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
2014-08-27[test_download] Improve playlist handlingPhilipp Hagemeister
2014-08-25[generic] Fix rss under Python 2.x and move test to extractorPhilipp Hagemeister
2014-08-25[googlesearch] Move test to extractorPhilipp Hagemeister
2014-08-21Allow playlist test definitions in test_download.Philipp Hagemeister
This moves playlist tests where they belong, i.e. to the extractors themselves. Additionally, all our network interaction configuration for tests in test_download now applies to playlist tests as well.
2014-07-23Remove unused importsPhilipp Hagemeister
2014-03-23[instagram] Add support for user profiles (Fixes #2606)Philipp Hagemeister
2014-03-23[test] Move expect_info_dict out of test_downloadPhilipp Hagemeister
2014-03-22Make missing test definition fields an errorPhilipp Hagemeister
If the result is not testable (for example, because a description changes often), either pass in a type or a regular expression (a string starting with 're:')
2014-03-17[test] Rename get_testcases to gettestcasesPhilipp Hagemeister
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
2014-03-13Rename upload_timestamp to timestampPhilipp Hagemeister
2014-03-13[test_download] Move assertions before debugging outputPhilipp Hagemeister
2014-03-13[ninegag] Fix extractionPhilipp Hagemeister
2014-02-26[tests] Raise an exception if test definition is invalid (Found in #2460)Philipp Hagemeister
2014-02-22[trutube] Support multiple formats (#2433)Philipp Hagemeister
2014-02-06[test_download] Skip over BadStatusLine errorsPhilipp Hagemeister
An error like https://travis-ci.org/rg3/youtube-dl/jobs/18317799#L449 is almost certainly the server's fault.
2014-01-17[everyonesmixtape] Add support (Fixes #2161)Philipp Hagemeister