def test_hide_login_info(self):
    self.assertEqual(Config.hide_login_info(['-u', 'foo', '-p', 'bar']), ['-u', 'PRIVATE', '-p', 'PRIVATE'])
    self.assertEqual(Config.hide_login_info(['-u']), ['-u'])
    self.assertEqual(Config.hide_login_info(['-u', 'foo', '-u', 'bar']), ['-u', 'PRIVATE', '-u', 'PRIVATE'])
    self.assertEqual(Config.hide_login_info(['--username=foo']), ['--username=PRIVATE'])
def test_hide_login_info(self):
    self.assertEqual(Config.hide_login_info(['-u', 'foo', '-p', 'bar']), ['-u', 'PRIVATE', '-p', 'PRIVATE'])
    self.assertEqual(Config.hide_login_info(['-u']), ['-u'])
    self.assertEqual(Config.hide_login_info(['-u', 'foo', '-u', 'bar']), ['-u', 'PRIVATE', '-u', 'PRIVATE'])
    self.assertEqual(Config.hide_login_info(['--username=foo']), ['--username=PRIVATE'])