From e921336a402423a702c74b757551bee10f3d771d Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 23 Jul 2014 12:56:39 -0400 Subject: fix httpretty based test cases if http_proxy is set. previously this would fail: http_proxy=http://foo.bar make test now it will pass. This works around a bug where httpretty is not able to patch http operations if http_proxy is set. https://github.com/gabrielfalcao/HTTPretty/issues/122 --- tests/unittests/test_ec2_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unittests/test_ec2_util.py') diff --git a/tests/unittests/test_ec2_util.py b/tests/unittests/test_ec2_util.py index dd87665d..aaec2694 100644 --- a/tests/unittests/test_ec2_util.py +++ b/tests/unittests/test_ec2_util.py @@ -6,7 +6,7 @@ from cloudinit import url_helper as uh import httpretty as hp -class TestEc2Util(helpers.TestCase): +class TestEc2Util(helpers.HttprettyTestCase): VERSION = 'latest' @hp.activate -- cgit v1.2.3