From 0471bd4a915be815f63d0ad137380e6fe7091e44 Mon Sep 17 00:00:00 2001 From: Cyrus Daboo Date: Fri, 23 Mar 2007 17:49:26 +0000 Subject: [PATCH] Fix tests to work with my host. git-svn-id: https://svn.calendarserver.org/repository/calendarserver/PyKerberos/trunk@1420 e27351fd-9f3e-4f54-a53b-843176b1656c --- test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index 33b135e..e4e5429 100644 --- a/test.py +++ b/test.py @@ -92,12 +92,12 @@ def statusText(r): else: return "Error" - rc, vc = kerberos.authGSSClientInit("http/caldav.corp.apple.com@CALDAV.CORP.APPLE.COM"); + rc, vc = kerberos.authGSSClientInit(service); print "Status for authGSSClientInit = %s" % statusText(rc); if rc != 1: return - rs, vs = kerberos.authGSSServerInit("http@CALDAV.CORP.APPLE.COM"); + rs, vs = kerberos.authGSSServerInit(service); print "Status for authGSSServerInit = %s" % statusText(rs); if rs != 1: return @@ -142,7 +142,7 @@ def sendRequest(host, port, ssl, method, uri, headers): return response # Initial request without auth header - uri = "/" + uri = "/principals/" response = sendRequest(host, port, ssl, "OPTIONS", uri, {}) if response is None: