[Python-Dev] Using temp files and the Internet in regression tests (original) (raw)

Brett Cannon drifty@alum.berkeley.edu
Sun, 13 Apr 2003 14:51:14 -0700 (PDT)


[Guido van Rossum]

<snip - question about tests using the Internet>

No, you check whether the 'network' resource name is enabled in testsupport. Use testsupport.isresourceenabled('network').

Another thought that has come to mind; should we be diligent about creating new objects like good testers? Or should we minimize it since net connections are expensive to make and can hold things up.

-Brett