Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Fix tests to work with my host.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrusdaboo committed Mar 23, 2007
1 parent fed13f6 commit 0471bd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ def statusText(r):
else:
return "Error"

rc, vc = kerberos.authGSSClientInit("http/[email protected]");
rc, vc = kerberos.authGSSClientInit(service);
print "Status for authGSSClientInit = %s" % statusText(rc);
if rc != 1:
return

rs, vs = kerberos.authGSSServerInit("[email protected]");
rs, vs = kerberos.authGSSServerInit(service);
print "Status for authGSSServerInit = %s" % statusText(rs);
if rs != 1:
return
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0471bd4

Please sign in to comment.