From 6688665eaa9f2d3a4e1e0eacf5b13c201a37ff3f Mon Sep 17 00:00:00 2001 From: "jesus m. rodriguez" Date: Thu, 17 Sep 2009 12:46:07 -0400 Subject: Fix unit tests --- proxy/code/scripts/test-consumerapi.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'proxy/code/scripts/test-consumerapi.py') diff --git a/proxy/code/scripts/test-consumerapi.py b/proxy/code/scripts/test-consumerapi.py index 123f962..5249b77 100755 --- a/proxy/code/scripts/test-consumerapi.py +++ b/proxy/code/scripts/test-consumerapi.py @@ -34,5 +34,10 @@ response = urllib.urlopen('http://localhost:8080/candlepin/consumer/info') rsp = response.read() print("get info: %s" % rsp) -{ -} +#print("delete consumer") +#conn = httplib.HTTPConnection("localhost", 8080) +#conn.request("DELETE", '/candlepin/consumer/') +#response = conn.getresponse() +# +#print("Status: %d Response: %s" % (response.status, response.reason)) +#conn.close() -- cgit