Yen Chi Hsuan
7 years ago
No known key found for this signature in database
GPG Key ID: 7F902A182457CA23
1 changed files with
1 additions and
1 deletions
-
test/test_options.py
|
@ -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']) |
|
|