1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 21:22:13 +00:00

[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:
Philipp Hagemeister 2015-01-08 17:09:28 +01:00
parent db6e625005
commit 5fbf25a681

View file

@ -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()