Home
last modified time | relevance | path

Searched refs:splitpasswd (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urllib.py918 splitpasswd = urllib.splitpasswd
919 self.assertEqual(splitpasswd('user:ab'), ('user', 'ab'))
920 self.assertEqual(splitpasswd('user:a\nb'), ('user', 'a\nb'))
921 self.assertEqual(splitpasswd('user:a\tb'), ('user', 'a\tb'))
922 self.assertEqual(splitpasswd('user:a\rb'), ('user', 'a\rb'))
923 self.assertEqual(splitpasswd('user:a\fb'), ('user', 'a\fb'))
924 self.assertEqual(splitpasswd('user:a\vb'), ('user', 'a\vb'))
925 self.assertEqual(splitpasswd('user:a:b'), ('user', 'a:b'))
926 self.assertEqual(splitpasswd('user:a b'), ('user', 'a b'))
927 self.assertEqual(splitpasswd('user 2:ab'), ('user 2', 'ab'))
[all …]
/external/python/cpython3/Lib/test/
Dtest_urlparse.py1068 splitpasswd = urllib.parse.splitpasswd
1069 self.assertEqual(splitpasswd('user:ab'), ('user', 'ab'))
1070 self.assertEqual(splitpasswd('user:a\nb'), ('user', 'a\nb'))
1071 self.assertEqual(splitpasswd('user:a\tb'), ('user', 'a\tb'))
1072 self.assertEqual(splitpasswd('user:a\rb'), ('user', 'a\rb'))
1073 self.assertEqual(splitpasswd('user:a\fb'), ('user', 'a\fb'))
1074 self.assertEqual(splitpasswd('user:a\vb'), ('user', 'a\vb'))
1075 self.assertEqual(splitpasswd('user:a:b'), ('user', 'a:b'))
1076 self.assertEqual(splitpasswd('user:a b'), ('user', 'a b'))
1077 self.assertEqual(splitpasswd('user 2:ab'), ('user 2', 'ab'))
[all …]
/external/python/cpython2/Lib/
Durllib2.py122 splitattr, ftpwrapper, splituser, splitpasswd, splitvalue)
730 user, password = splitpasswd(userinfo)
1395 user, passwd = splitpasswd(user)
Durllib.py521 if user: user, passwd = splitpasswd(user)
1120 def splitpasswd(user): function
/external/python/cpython3/Lib/urllib/
Drequest.py105 splittype, splithost, splitport, splituser, splitpasswd,
788 user, password = splitpasswd(userinfo)
1515 user, passwd = splitpasswd(user)
2017 if user: user, passwd = splitpasswd(user)
Dparse.py999 def splitpasswd(user): function