> Quite doable, but we don't really have a DAV server that davlib.py could hit > via localhost. I'm sure somebody could jury-rig a simple responder, though. > Avoiding the bailing-wire-and-glue bit was the reason for suggesting > test.webdav.org. But we don't control how test.webdav.org will respond two (or ten) years from now. Plus there are firewalls, you don't want your modem to start dialing, etc., etc. > Hmm. Some kind of subclass of BaseHTTPServer or something could probably > just send back canned responses. Exactly. That's how SocketServer tests itself these days. > Note that even httplib.py doesn't attempt a localhost connection for > testing. The test in the test suite doesn't use the network at all. The test in the module is not used, exactly for this reason: it relies on accessibility of external resources. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4