From 80a5b0009a69fd1e4d0451278dbbc5808563dc42 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Wed, 11 Aug 2004 09:59:58 +0000 Subject: In python/tests, there are now a sample IDP (sample-idp.py) and a sample SP (sample-sp.py). The two applications are real servers. --- python/tests/websimulator.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'python/tests/websimulator.py') diff --git a/python/tests/websimulator.py b/python/tests/websimulator.py index f5fb843f..cd75195d 100644 --- a/python/tests/websimulator.py +++ b/python/tests/websimulator.py @@ -22,10 +22,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# FIXME: Replace principal with client in most methods. -# FIXME: Rename user to userAccount. - - import abstractweb @@ -126,13 +122,9 @@ class Internet(object): raise Exception('Unknown web site: %s' % url) -class WebClient(object): +class WebClient(abstractweb.WebClientMixin, object): internet = None keyring = None - httpRequestHeaders = { - 'User-Agent': 'LassoSimulator/0.0.0', - 'Accept': 'text/xml,application/xml,application/xhtml+xml,text/html', - } sessionTokens = None # Simulate the cookies, stored in user's navigator, and containing the # IDs of sessions already opened by the user. -- cgit