Commit Graph

79 Commits (8b644025b1de710339fe317661d71691c115e249)

Author SHA1 Message Date
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister 3e6e4999ca [test/helper] Improve output 10 years ago
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.
10 years ago
Philipp Hagemeister 70b7e3fbb6 [generic] Add a test case for direct links with broken HEAD (#4032) 10 years ago
Philipp Hagemeister c64ed2a310 [viddler] Use API 10 years ago
Philipp Hagemeister c0f64ac689 [test/helper] Improve output of missing test definition dictionaries 10 years ago
Philipp Hagemeister 7a08ad7d59 [test/helper] Modernize 10 years ago
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).
10 years ago
Philipp Hagemeister 0990305d2a [generic] Fix rss under Python 2.x and move test to extractor 10 years ago
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.
10 years ago
Philipp Hagemeister 0fd7fd71b4 [test/helper] Do not use deprecated method 10 years ago
Philipp Hagemeister d8624e6a80 [test_playlist] Add and use assertGreaterEqual 10 years ago
Philipp Hagemeister d0a122348e [test/helper] Clarify which field failed an assertion 11 years ago
Philipp Hagemeister c57f775710 [YoutubeDL] Add simple tests for format_note (Closes #2825) 11 years ago
Philipp Hagemeister b9ba5dfa28 [test helper] Correct only_matching test gathering 11 years ago
Philipp Hagemeister 52fadd5fb2 [test_all_urls] Add support for distributed URL matching test definition 11 years ago
Philipp Hagemeister ea38e55fff [instagram] Add support for user profiles (Fixes #2606) 11 years ago
Philipp Hagemeister 257cfebfe6 [test] Move expect_info_dict out of test_download 11 years ago
Philipp Hagemeister ff14fc4964 [test] Rename get_testcases to gettestcases
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
11 years ago
Philipp Hagemeister d0efb9ec9a [tests] Remove global_setup function 11 years ago
Filippo Valsorda dd508b7c4f [tests] don't fail on network errors
This is suboptimal, but at least this way we will need to look at the logs
only to check for network errors that happen too often, instead of
parsing a ton of lines each time to see if there is some true test failing
11 years ago
Philipp Hagemeister f4d96df0f1 Extend #980 with --max-quality support 11 years ago
Philipp Hagemeister 44a5f1718a Simplify tests
* Make them directly executable again
* Move common stuff (md5, parameters) to helper
* Never import *
* General clean up
11 years ago
Philipp Hagemeister b2ad967e45 Simplify test setup 11 years ago
Philipp Hagemeister f4aac741d5 Move try_rm to test helpers 11 years ago
Filippo Valsorda 8932a66e49 [fixup] remove unnecessary commented function 11 years ago
Filippo Valsorda 00fcc17aee add capability to suppress expected warnings in tests 11 years ago
Philipp Hagemeister fc2c063e1e Move testcase generator to helper 12 years ago
Philipp Hagemeister 112da0a0ce Simplify FakeYDL 12 years ago