]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Clean up IPV6 config checks in test_wsgi.
authorjohn-griffith <john.griffith@solidfire.com>
Fri, 18 Jan 2013 17:07:10 +0000 (10:07 -0700)
committerJohn Griffith <john.griffith@solidfire.com>
Sun, 20 Jan 2013 02:52:19 +0000 (19:52 -0700)
commit24a84d04e7e5fd06083a8e8ee383c0abaceeebc1
treec03c8343856c2912b16fae041e241f51b31e0819
parentcd67c4dc8c4c52a7e7fc4f15dcbac44f44ba8c4f
Clean up IPV6 config checks in test_wsgi.

Two tests in test_wsgi require a configured IPV6 interface.
We added a check/skip for this but it wasn't very graceful and
didn't work on OS-X or platforms other than Linux.

This patch implements the checks a bit cleaner using the skip_if
decorator, and combines the linux/path check and configured interface
check.

Change-Id: I950fdfeb8135912faf5dcaabe52fb87abd73dd1e
cinder/tests/test_wsgi.py