From 23ac671be7cd5dce89b101aa32a6a470b022dbd7 Mon Sep 17 00:00:00 2001 From: "tao.takashi" Date: Mon, 14 Jul 2008 18:45:30 +0000 Subject: [PATCH] fixed host and port to make it work again --- pyogp/lib/base/tests/login.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyogp/lib/base/tests/login.txt b/pyogp/lib/base/tests/login.txt index 7689002..351f99c 100644 --- a/pyogp/lib/base/tests/login.txt +++ b/pyogp/lib/base/tests/login.txt @@ -12,8 +12,7 @@ First we create some credentials: >>> credentials = PlainPasswordCredential('Firstname', 'Lastname', 'secret') Then we need some agent domain to connect to. This might automatically retrieve some XRDS file to get the actual login endpoint: -agentdomain = AgentDomain('http://localhost:12345') ->>> agentdomain = AgentDomain('/') +>>> agentdomain = AgentDomain('http://localhost:12345') Now we can use both to get an agent object (which transparently handles capabilities etc.): >>> agent = agentdomain.login(credentials)