Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
3bb3ff38
Commit
3bb3ff38
authored
May 23, 2018
by
Remita Amine
Browse files
[test_utils] add tests for
b8361187
parent
268e132d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
test/test_utils.py
test/test_utils.py
+2
-0
No files found.
test/test_utils.py
View file @
3bb3ff38
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment