(self)
| 2094 | self.assertEqual(req.get_full_url(), url) |
| 2095 | |
| 2096 | def test_url_fullurl_get_full_url(self): |
| 2097 | urls = ['http://docs.python.org', |
| 2098 | 'http://docs.python.org/library/urllib2.html#OK', |
| 2099 | 'http://www.python.org/?qs=query#fragment=true'] |
| 2100 | for url in urls: |
| 2101 | req = Request(url) |
| 2102 | self.assertEqual(req.get_full_url(), req.full_url) |
| 2103 | |
| 2104 | |
| 2105 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected