[Python-bugs-list] [ python-Bugs-764095 ] recent test_httplib change uses network

SourceForge.net noreply@sourceforge.net
Tue, 08 Jul 2003 05:37:07 -0700


Bugs item #764095, was opened at 2003-07-01 17:22
Message generated for change (Settings changed) made by jhylton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=764095&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Steven Taschuk (staschuk)
Assigned to: Jeremy Hylton (jhylton)
Summary: recent test_httplib change uses network

Initial Comment:
The 1.11 revision of test_httplib.py accesses 
www.python.org.

The simplest fix is simply to add requires('network'), but the 
right fix imho is to mock the connection properly.  I don't 
have a patch yet.

----------------------------------------------------------------------

>Comment By: Jeremy Hylton (jhylton)
Date: 2003-07-08 12:37

Message:
Logged In: YES 
user_id=31392

Fixed in rev 1.12 of test_httplib.py.


----------------------------------------------------------------------

Comment By: Steven Taschuk (staschuk)
Date: 2003-07-02 22:31

Message:
Logged In: YES 
user_id=666873

Attached a patch to make the test tickle bug 622042 as desired 
but not access www.python.org or otherwise require the network 
resource.

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-07-02 04:02

Message:
Logged In: YES 
user_id=80475

Jeremy authored rev 1.11.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=764095&group_id=5470