Commit Graph

7 Commits (416c7fcbce86324587afae11414c71ff603ad296)

Author SHA1 Message Date
Philipp Hagemeister a0f59cdcb4 [tests] Modernize 10 years ago
Simon W. Jackson 8ae980807a Update test_age_restriction.py
typo
11 years ago
Philipp Hagemeister d0efb9ec9a [tests] Remove global_setup function 11 years ago
Philipp Hagemeister f99e0f1ed6 Adapt age restriction tests to new .info.json filenames 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
Filippo Valsorda d3f46b9aa5 Add support for single-test tox runs
Use a sintax like
    tox test.test_download:TestDownload.test_NowVideo
to run the specific test on all the tox environments (Python versions)
11 years ago
Philipp Hagemeister 8dbe9899a9 Allow users to specify an age limit (fixes #1545)
With these changes, users can now restrict what videos are downloaded by the intented audience, by specifying their age with --age-limit YEARS .
Add rudimentary support in youtube, pornotube, and youporn.
11 years ago