From f4feea49201468152cb19cc1a5013b6d2d7f7f8a Mon Sep 17 00:00:00 2001 From: "jesus m. rodriguez" Date: Thu, 12 Nov 2009 15:25:33 -0500 Subject: allow upload of cert and return list of available ent pools --- proxy/code/scripts/test-poolapi.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 proxy/code/scripts/test-poolapi.py (limited to 'proxy/code/scripts/test-poolapi.py') diff --git a/proxy/code/scripts/test-poolapi.py b/proxy/code/scripts/test-poolapi.py new file mode 100755 index 0000000..f297ef2 --- /dev/null +++ b/proxy/code/scripts/test-poolapi.py @@ -0,0 +1,9 @@ +#!/usr/bin/python + +import httplib, urllib +import sys +import simplejson + +response = urllib.urlopen('http://localhost:8080/candlepin/entitlementpool') +rsp = response.read() +print("list: %s" % rsp) -- cgit