Jaime Marquínez Ferrándiz
65d49afa48
[test/test_download] Use extract_flat = 'in_playlist' for playlist items
...
Some playlist extractors return a 'url' result, which wouldn't be resolved.
2015-10-23 14:12:46 +02:00
Sergey M․
308cfe0ab3
[test_downloader] Respect --force-generic-extractor
2015-08-02 01:14:41 +06:00
Yen Chi Hsuan
880ee801cf
[tests] Allow multi_video to be tested as playlists
2015-04-19 19:08:37 +08:00
Philipp Hagemeister
4e980275b5
[test_download] Remove references to "file" in test definitions
2015-02-01 15:21:18 +01:00
Sergey M․
f74b341dde
expect_info_dict actual-expected argument consistency
2014-12-26 23:07:24 +06:00
Philipp Hagemeister
e075a44afb
[tests] Remove useless u prefixes
2014-11-26 13:07:32 +01:00
Jouke Waleson
5f6a1245ff
PEP8 applied
2014-11-23 20:41:03 +01:00
Philipp Hagemeister
a0f59cdcb4
[tests] Modernize
2014-11-16 15:17:48 +01:00
Jaime Marquínez Ferrándiz
ac35c26686
[tests] Don't auto init YoutubeDL
...
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 17:53:12 +01:00
Philipp Hagemeister
42f7d2f588
[test_download] Fix import
2014-11-02 11:46:12 +01:00
Philipp Hagemeister
f744c0f398
[test_download] Improve error message
2014-10-27 00:39:39 +01:00
Philipp Hagemeister
70b7e3fbb6
[generic] Add a test case for direct links with broken HEAD ( #4032 )
2014-10-26 20:49:51 +01:00
Philipp Hagemeister
d6e6a42256
[vimeo:likes] Add new extractor ( Fixes #3835 )
2014-09-28 12:14:16 +02:00
Sergey M․
08a36c3569
[test_download] Check expected file minsize and md5 only when download is not skipped
2014-08-29 18:42:42 +07:00
Philipp Hagemeister
753727cded
[test_download] Expect a minimum file size
...
This should detect when we're downloading a small text file by accident.
2014-08-28 13:59:45 +02:00
Philipp Hagemeister
22a6f15061
Move playlist tests to extractors.
...
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-28 00:58:24 +02:00
Philipp Hagemeister
2857084000
[test_download] Improve playlist handling
2014-08-27 17:11:45 +02:00
Philipp Hagemeister
0990305d2a
[generic] Fix rss under Python 2.x and move test to extractor
2014-08-25 18:03:01 +02:00
Philipp Hagemeister
829476b80a
[googlesearch] Move test to extractor
2014-08-25 17:02:52 +02:00
Philipp Hagemeister
e8ee972c6e
Allow playlist test definitions in test_download.
...
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-08-21 11:52:07 +02:00
Philipp Hagemeister
0c92b57398
Remove unused imports
2014-07-23 02:46:21 +02:00
Philipp Hagemeister
ea38e55fff
[instagram] Add support for user profiles ( Fixes #2606 )
2014-03-23 16:06:07 +01:00
Philipp Hagemeister
257cfebfe6
[test] Move expect_info_dict out of test_download
2014-03-23 15:52:21 +01:00
Philipp Hagemeister
a9c2896e22
Make missing test definition fields an error
...
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-22 14:20:07 +01:00
Philipp Hagemeister
ff14fc4964
[test] Rename get_testcases to gettestcases
...
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
2014-03-17 14:30:13 +01:00
Philipp Hagemeister
955c451456
Rename upload_timestamp to timestamp
2014-03-13 18:45:14 +01:00
Philipp Hagemeister
2a1db721d4
[test_download] Move assertions before debugging output
2014-03-13 17:05:51 +01:00
Philipp Hagemeister
84769e708c
[ninegag] Fix extraction
2014-03-13 16:40:53 +01:00
Philipp Hagemeister
2437fbca64
[tests] Raise an exception if test definition is invalid (Found in #2460 )
2014-02-26 00:12:02 +01:00
Philipp Hagemeister
491ed3dda2
[trutube] Support multiple formats ( #2433 )
2014-02-22 15:05:30 +01:00
Philipp Hagemeister
dcf3eec47a
[test_download] Skip over BadStatusLine errors
...
An error like https://travis-ci.org/rg3/youtube-dl/jobs/18317799#L449 is almost certainly the server's fault.
2014-02-06 04:19:57 +01:00
Philipp Hagemeister
484aaeb204
[everyonesmixtape] Add support ( Fixes #2161 )
2014-01-17 02:56:13 +01:00
Jaime Marquínez Ferrándiz
933605d7e8
YoutubeDL: rename _fd_progress_hooks
back to _progress_hooks
...
In the future it may report more things.
2013-12-23 10:37:27 +01:00
Jaime Marquínez Ferrándiz
8ab470f1b2
Now a new FileDownloader is created when downloading a video
...
The progress hooks can be added using the method "add_downloader_progress_hook"
2013-12-11 16:04:42 +01:00
Philipp Hagemeister