Browse Source

[test_utils] add tests for b836118724

master-ytdl-org
Remita Amine 7 years ago
parent
commit
3bb3ff38a1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      test/test_utils.py

+ 2
- 0
test/test_utils.py View File

@ -519,6 +519,8 @@ class TestUtil(unittest.TestCase):
self.assertEqual(parse_age_limit('PG-13'), 13)
self.assertEqual(parse_age_limit('TV-14'), 14)
self.assertEqual(parse_age_limit('TV-MA'), 17)
self.assertEqual(parse_age_limit('TV14'), 14)
self.assertEqual(parse_age_limit('TV_G'), 0)
def test_parse_duration(self):
self.assertEqual(parse_duration(None), None)


Loading…
Cancel
Save