diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-11 09:59:58 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-11 09:59:58 +0000 |
| commit | 80a5b0009a69fd1e4d0451278dbbc5808563dc42 (patch) | |
| tree | 80aa70e18baf8e9b3e537d690061ee137b316319 /python/tests/websimulator.py | |
| parent | 2d1f06f55b37d677f4c17e1fa1c60a0bf65778b3 (diff) | |
| download | lasso-80a5b0009a69fd1e4d0451278dbbc5808563dc42.tar.gz lasso-80a5b0009a69fd1e4d0451278dbbc5808563dc42.tar.xz lasso-80a5b0009a69fd1e4d0451278dbbc5808563dc42.zip | |
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.
Diffstat (limited to 'python/tests/websimulator.py')
| -rw-r--r-- | python/tests/websimulator.py | 10 |
1 files changed, 1 insertions, 9 deletions
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. |
