summaryrefslogtreecommitdiffhomepage
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorRemita Amine <[email protected]>2016-12-20 12:23:16 +0100
committerRemita Amine <[email protected]>2016-12-20 12:35:03 +0100
commit7fe1592073c0a775dcd3ea7fcb400fbcfad624f7 (patch)
tree9adfea161792213486c3485b600621a37c339f2f /test/test_utils.py
parent8ab7e6c4cc93d998a39fda9733587b58f5252999 (diff)
downloadyoutube-dl-7fe1592073c0a775dcd3ea7fcb400fbcfad624f7.tar.gz
youtube-dl-7fe1592073c0a775dcd3ea7fcb400fbcfad624f7.zip
[common] fix dash codec information for mixed videos and fragment url construction(#11490)
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 1cdac82fc..3092db5c1 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -461,6 +461,7 @@ class TestUtil(unittest.TestCase):
self.assertEqual(urljoin('http://foo.de/', None), None)
self.assertEqual(urljoin('http://foo.de/', ''), None)
self.assertEqual(urljoin('http://foo.de/', ['foobar']), None)
+ self.assertEqual(urljoin('http://foo.de/a/b/c.txt', '.././../d.txt'), 'http://foo.de/d.txt')
def test_parse_age_limit(self):
self.assertEqual(parse_age_limit(None), None)