1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +00:00

[options] Typo

This commit is contained in:
Yen Chi Hsuan 2017-07-23 16:24:18 +08:00
parent 905d18a7aa
commit 73095e013f
No known key found for this signature in database
GPG Key ID: 7F902A182457CA23

View File

@ -12,7 +12,7 @@ from youtube_dl.options import _hide_login_info
class TestOptions(unittest.TestCase): class TestOptions(unittest.TestCase):
def test_hide_login_inf(self): def test_hide_login_info(self):
self.assertEqual(_hide_login_info(['-u', 'foo', '-p', 'bar']), self.assertEqual(_hide_login_info(['-u', 'foo', '-p', 'bar']),
['-u', 'PRIVATE', '-p', 'PRIVATE']) ['-u', 'PRIVATE', '-p', 'PRIVATE'])
self.assertEqual(_hide_login_info(['-u']), ['-u']) self.assertEqual(_hide_login_info(['-u']), ['-u'])