commit 3bb3ff38a15ccf00686c75af8d6635903632ee87
parent 268e132dec96ea9e8a9a3cafb788baf39a498c7d
Author: Remita Amine <remitamine@gmail.com>
Date:   Wed, 23 May 2018 12:20:05 +0100

[test_utils] add tests for b836118724122a639a1cb78d55d91724bf1e7251

Diffstat:
Mtest/test_utils.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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)