summaryrefslogtreecommitdiffstats
path: root/proxy/code/scripts/test-ownerapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/code/scripts/test-ownerapi.py')
-rwxr-xr-xproxy/code/scripts/test-ownerapi.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/proxy/code/scripts/test-ownerapi.py b/proxy/code/scripts/test-ownerapi.py
new file mode 100755
index 0000000..6b4f501
--- /dev/null
+++ b/proxy/code/scripts/test-ownerapi.py
@@ -0,0 +1,10 @@
+#!/usr/bin/python
+
+import httplib, urllib
+import sys
+import simplejson
+
+response = urllib.urlopen('http://localhost:8080/candlepin/owner')
+rsp = response.read()
+print("get: %s" % rsp)
+