diff options
Diffstat (limited to 'tests/test_ipv6.py')
-rw-r--r-- | tests/test_ipv6.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_ipv6.py b/tests/test_ipv6.py index 0973648f..9825a5fa 100644 --- a/tests/test_ipv6.py +++ b/tests/test_ipv6.py @@ -15,10 +15,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -import httplib +from keystone import test +from keystone.common import environment from keystone import config -from keystone import test CONF = config.CONF @@ -40,12 +40,12 @@ class IPv6TestCase(test.TestCase): self.admin_server = self.serveapp('keystone', name='admin', host="::1", port=0) # Verify Admin - conn = httplib.HTTPConnection('::1', CONF.admin_port) + conn = environment.httplib.HTTPConnection('::1', CONF.admin_port) conn.request('GET', '/') resp = conn.getresponse() self.assertEqual(resp.status, 300) # Verify Public - conn = httplib.HTTPConnection('::1', CONF.public_port) + conn = environment.httplib.HTTPConnection('::1', CONF.public_port) conn.request('GET', '/') resp = conn.getresponse() self.assertEqual(resp.status, 300) |