Files
deb-python-eventlet/tests
Tim Burke f508a7e330 greendns: Return answers from /etc/hosts despite nameserver errors
When calling getaddrinfo with an unspecified address family, we:

 * try to get an IPv6 address for the host, first trying /etc/hosts and
   failing that, using any external nameserver, then
 * try to get an IPv4 address for it, with the same /etc/hosts ->
   external nameserver priority.

Note that if the host can be resolved using /etc/hosts but only to one
of the two address families, we still attempt to contact the external
nameserver to resolve it in the other family.

Previously, if this timed out or raised a DNSException other than
NXDOMAIN, EAI_EAGAIN_ERROR or EAI_NODATA_ERROR would be raised even
though we could resolve the host. Now, those errors will only be raised
if neither attempt at resolution succeeded.

https://github.com/eventlet/eventlet/pull/354
2016-11-09 08:39:16 +03:00
..
2014-11-12 09:05:10 +00:00
2016-01-06 23:58:45 +01:00
2016-02-12 20:42:03 +05:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-04-24 18:11:37 +04:00
2014-10-11 01:41:30 +01:00
2014-08-27 10:21:55 +04:00
2014-10-11 01:41:30 +01:00
2016-01-06 23:58:45 +01:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2016-02-12 20:42:03 +05:00
2016-02-12 20:42:03 +05:00

The tests are intended to be run using Nose.  
http://somethingaboutorange.com/mrl/projects/nose/

To run tests, simply install nose, and then, in the eventlet tree, do:
   $ nosetests

That's it!  Its output is the same as unittest's output.  It tends to emit a lot of tracebacks from various poorly-behaving tests, but they still (generally) pass.