summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_robotparser.py
Commit message (Collapse)AuthorAgeFilesLines
* Backport some robotparser test and skip the test if the external resource is ↵Florent Xicluna2010-04-021-5/+18
| | | | not available.
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-2/+2
|
* Close issue 3437 - missing state change when Allow lines are processed.Skip Montanaro2008-07-271-0/+69
| | | | Adds test cases which use Allow: as well.
* Correct attribute name.Georg Brandl2008-07-181-1/+1
|
* fixes 813986Skip Montanaro2007-08-281-0/+11
|
* Standardize on test.test_support.run_unittest() (as opposed to a mix of ↵Collin Winter2007-04-251-2/+2
| | | | run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+2
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Whitespace normalization.Tim Peters2002-04-161-9/+9
|
* Correct various errors:Martin v. Löwis2002-02-281-0/+141
- Use substring search, not re search for user-agent and paths. - Consider * entry last. Unquote, then requote URLs. - Treat empty Disallow as "allow everything". Add test cases. Fixes #523041