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