aboutsummaryrefslogtreecommitdiffstats
path: root/test_trac.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_trac.py')
-rw-r--r--test_trac.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test_trac.py b/test_trac.py
new file mode 100644
index 0000000..06cbb77
--- /dev/null
+++ b/test_trac.py
@@ -0,0 +1,14 @@
+#!/usr/bin/python
+import urllib2
+import cookielib
+import urllib2_kerberos
+
+
+cj = cookielib.CookieJar()
+opener = urllib2.build_opener(urllib2.HTTPSHandler(debuglevel=2),
+ urllib2.HTTPRedirectHandler,
+ urllib2.HTTPCookieProcessor(cj),
+ urllib2_kerberos.HTTPKerberosAuthHandler)
+
+response = opener.open(
+ 'https://trac.dqe.lab.eng.bos.redhat.com/desktopqe-backlog/login')