projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6e625
)
[test_age_restriction] remove misbehaving test
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 8 Jan 2015 16:09:28 +0000
(17:09 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 8 Jan 2015 17:03:29 +0000
(18:03 +0100)
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.
test/test_age_restriction.py
patch
|
blob
|
history
diff --git
a/test/test_age_restriction.py
b/test/test_age_restriction.py
index 5be065c437ae978d8c4ccc1a67bea87a599a77ed..6f5513faa2c5551ce3f3c9d2967a55b28adad858 100644
(file)
--- a/
test/test_age_restriction.py
+++ b/
test/test_age_restriction.py
@@
-45,11
+45,6
@@
class TestAgeRestriction(unittest.TestCase):
'http://www.youporn.com/watch/505835/sex-ed-is-it-safe-to-masturbate-daily/',
'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__':
unittest.main()