mirror of https://github.com/blackjack4494/yt-dlc
[test_age_restriction] remove misbehaving test
We now test for the age_limit being set right in test_download, so we don't need more than two tests for the actual age limit handling.
This commit is contained in:
parent
db6e625005
commit
5fbf25a681
|
@ -45,11 +45,6 @@ class TestAgeRestriction(unittest.TestCase):
|
||||||
'http://www.youporn.com/watch/505835/sex-ed-is-it-safe-to-masturbate-daily/',
|
'http://www.youporn.com/watch/505835/sex-ed-is-it-safe-to-masturbate-daily/',
|
||||||
'505835.mp4', 2, old_age=25)
|
'505835.mp4', 2, old_age=25)
|
||||||
|
|
||||||
def test_pornotube(self):
|
|
||||||
self._assert_restricted(
|
|
||||||
'http://pornotube.com/c/173/m/1689755/Marilyn-Monroe-Bathing',
|
|
||||||
'1689755.flv', 13)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue