mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-23 06:35:51 -07:00
Update test/test_utils.py
This commit is contained in:
parent
673d407579
commit
b919bd0413
1 changed files with 1 additions and 0 deletions
|
@ -240,6 +240,7 @@ class TestUtil(unittest.TestCase):
|
||||||
self.assertEqual(sanitize_url('ytsearch:search query'), 'ytsearch:search query')
|
self.assertEqual(sanitize_url('ytsearch:search query'), 'ytsearch:search query')
|
||||||
|
|
||||||
def test_sanitized_Request(self):
|
def test_sanitized_Request(self):
|
||||||
|
# issue 31008
|
||||||
self.assertEqual(sanitized_Request('https://foo.bar/foo bar').get_full_url(), 'https://foo.bar/foo%20bar')
|
self.assertEqual(sanitized_Request('https://foo.bar/foo bar').get_full_url(), 'https://foo.bar/foo%20bar')
|
||||||
|
|
||||||
def test_expand_path(self):
|
def test_expand_path(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue