[CalendarServer-changes] [3006] PyKerberos/trunk/test.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 17 03:35:22 PDT 2008
Revision: 3006
http://trac.macosforge.org/projects/calendarserver/changeset/3006
Author: agx at sigxcpu.org
Date: 2008-09-17 03:35:22 -0700 (Wed, 17 Sep 2008)
Log Message:
-----------
don't hardcode args to testServicePrincipal
makes the test work outside of apple
Modified Paths:
--------------
PyKerberos/trunk/test.py
Modified: PyKerberos/trunk/test.py
===================================================================
--- PyKerberos/trunk/test.py 2008-09-17 10:35:15 UTC (rev 3005)
+++ PyKerberos/trunk/test.py 2008-09-17 10:35:22 UTC (rev 3006)
@@ -49,7 +49,8 @@
# Get service principal
print "\n*** Running Service Principal test"
- testServicePrincipal("http", "caldav.corp.apple.com");
+ s, h = service.split("@")
+ testServicePrincipal(s, h);
# Run tests
if (len(user) != 0) and (len(pswd) != 0):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080917/a40afda1/attachment-0001.html
More information about the calendarserver-changes
mailing list