Message124016
The test which failed was HandlerTests.test_file, and I'm using python 2.7.1.
socket.gethostbyname('localhost') returns "127.0.0.1" which is ok, but in the unittest it's already tested (line 671).
The problem is that my /etc/hosts file contains a different IP than the DNS (I cannot change this behaviour as I'm not the administrator of the host) and that's the difference between gethostbyname and gethostbyname_ex.
The unittest creates an url which is not local (from urllib2 point of view). I'm attaching a patch which has fixed my problem. |
|
Date |
User |
Action |
Args |
2010-12-15 13:34:28 | csernazs | set | recipients:
+ csernazs, orsenthil, dmorr, ned.deily |
2010-12-15 13:34:28 | csernazs | set | messageid: <1292420068.68.0.346834467459.issue5625@psf.upfronthosting.co.za> |
2010-12-15 13:34:27 | csernazs | link | issue5625 messages |
2010-12-15 13:34:27 | csernazs | create | |
|