0
0
Fork 0

[options] Typo

main
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
1 changed files with 1 additions and 1 deletions

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'])