]> granicus.if.org Git - python/commit
issue20753 - robotparser tests should not rely upon external resource when not required.
authorSenthil Kumaran <senthil@uthcode.com>
Wed, 25 Jun 2014 09:58:15 +0000 (02:58 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Wed, 25 Jun 2014 09:58:15 +0000 (02:58 -0700)
commit601d6ec693e65649569a78e23cb324cf632e8369
treeb900882d6e1a00ddc7e5e208b64eb56064bbc442
parent99597c4d12e358174275945d97e504c0318a3783
issue20753 - robotparser tests should not rely upon external resource when not required.

Specifically, it was relying a URL which gave HTTP 403 and used it to assert
it's methods, this changes undoes that and provides a local http server with
similar properties.

Patch contributed by Vajrasky Kok.
Lib/test/test_robotparser.py