summaryrefslogtreecommitdiffstats
path: root/python/tests/Provider.py
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-08-09 05:35:34 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-08-09 05:35:34 +0000
commit4287b6402301342e3033f2b49b90ddf219cd638b (patch)
tree555727429b804bd609cd16144b612823de32f0fe /python/tests/Provider.py
parent2fbb5e6dfb51f917a992a212572d6a2dbd91f6f0 (diff)
downloadlasso-4287b6402301342e3033f2b49b90ddf219cd638b.tar.gz
lasso-4287b6402301342e3033f2b49b90ddf219cd638b.tar.xz
lasso-4287b6402301342e3033f2b49b90ddf219cd638b.zip
Updated Python unit tests infrastructure, so that it can be reused for
independant simulation applications.
Diffstat (limited to 'python/tests/Provider.py')
-rw-r--r--python/tests/Provider.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/python/tests/Provider.py b/python/tests/Provider.py
index 88406814..53cb10c2 100644
--- a/python/tests/Provider.py
+++ b/python/tests/Provider.py
@@ -1,12 +1,11 @@
# -*- coding: UTF-8 -*-
-# Python Lasso Simulator
+# Lasso Simulator
+# By: Emmanuel Raviart <eraviart@entrouvert.com>
#
# Copyright (C) 2004 Entr'ouvert
# http://lasso.entrouvert.org
-#
-# Author: Emmanuel Raviart <eraviart@entrouvert.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -29,8 +28,8 @@ from websimulator import *
class Provider(WebSite):
- responseHeaders = WebSite.responseHeaders.copy()
- responseHeaders.update({
+ httpResponseHeaders = WebSite.httpResponseHeaders.copy()
+ httpResponseHeaders.update({
'Liberty-Enabled': 'LIBV=urn:liberty:iff:2003-08,http://projectliberty.org/specs/v1',
})
serverDump = None