]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
make IPv6 unit test work on systems with eth0
authorMark McClain <mark.mcclain@dreamhost.com>
Tue, 22 Jan 2013 17:16:09 +0000 (12:16 -0500)
committerMark McClain <mark.mcclain@dreamhost.com>
Tue, 22 Jan 2013 18:10:46 +0000 (13:10 -0500)
commit0bc4588692314d2c1cbba22590ec0e2737ef1e4c
tree2eaef2b023e4ae4b264871b2c750925bc38cc327
parentb18a3217cdccaa3f27e228dda4fdf60e7c3cac1a
make IPv6 unit test work on systems with eth0

fixes bug 1103074

The link local unit test was failing because it depended on eth0 to
exists.  This mocks getaddrinfo() to ensure a consistent return value
across testing environments.

Change-Id: Ie1a4d837efcacac8c8d2217c164ad751922e1a5f
quantum/tests/unit/test_wsgi.py