Home
last modified time | relevance | path

Searched refs:checkJoin (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urlparse.py200 def checkJoin(self, base, relurl, expected): member in UrlParseTestCase
211 self.checkJoin(RFC1808_BASE, 'g:h', 'g:h')
212 self.checkJoin(RFC1808_BASE, 'g', 'http://a/b/c/g')
213 self.checkJoin(RFC1808_BASE, './g', 'http://a/b/c/g')
214 self.checkJoin(RFC1808_BASE, 'g/', 'http://a/b/c/g/')
215 self.checkJoin(RFC1808_BASE, '/g', 'http://a/g')
216 self.checkJoin(RFC1808_BASE, '//g', 'http://g')
217 self.checkJoin(RFC1808_BASE, 'g?y', 'http://a/b/c/g?y')
218 self.checkJoin(RFC1808_BASE, 'g?y/./x', 'http://a/b/c/g?y/./x')
219 self.checkJoin(RFC1808_BASE, '#s', 'http://a/b/c/d;p?q#s')
[all …]
/external/python/cpython3/Lib/test/
Dtest_urlparse.py228 def checkJoin(self, base, relurl, expected): member in UrlParseTestCase
244 self.checkJoin(RFC1808_BASE, 'g:h', 'g:h')
245 self.checkJoin(RFC1808_BASE, 'g', 'http://a/b/c/g')
246 self.checkJoin(RFC1808_BASE, './g', 'http://a/b/c/g')
247 self.checkJoin(RFC1808_BASE, 'g/', 'http://a/b/c/g/')
248 self.checkJoin(RFC1808_BASE, '/g', 'http://a/g')
249 self.checkJoin(RFC1808_BASE, '//g', 'http://g')
250 self.checkJoin(RFC1808_BASE, 'g?y', 'http://a/b/c/g?y')
251 self.checkJoin(RFC1808_BASE, 'g?y/./x', 'http://a/b/c/g?y/./x')
252 self.checkJoin(RFC1808_BASE, '#s', 'http://a/b/c/d;p?q#s')
[all …]