diff options
author | Remita Amine <remitamine@gmail.com> | 2018-05-23 12:20:05 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2018-05-23 12:20:05 +0100 |
commit | 3bb3ff38a15ccf00686c75af8d6635903632ee87 (patch) | |
tree | ba67d68f039f02b8621a6aed2223b97dad4d6930 /test | |
parent | 268e132dec96ea9e8a9a3cafb788baf39a498c7d (diff) |
[test_utils] add tests for b836118724122a639a1cb78d55d91724bf1e7251
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 14503ab53..f2b51131c 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -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) |