summaryrefslogtreecommitdiff
path: root/test/test_environ.py
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2012-08-23 23:46:51 +0200
committerMarcel Hellkamp <marc@gsites.de>2012-08-30 01:44:03 +0200
commit14020ae680d8309c331f961f52e7b64e35c66d1b (patch)
treefb0a722e0bf5d68510798f3e3f71a6c58f5fa49f /test/test_environ.py
parent9d2f04a3c0aca3ee4c5aa363e0a6a770e10f71a6 (diff)
downloadbottle-14020ae680d8309c331f961f52e7b64e35c66d1b.tar.gz
Some micro-optimisations.
Diffstat (limited to 'test/test_environ.py')
-rwxr-xr-xtest/test_environ.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_environ.py b/test/test_environ.py
index 08d3592..5198b02 100755
--- a/test/test_environ.py
+++ b/test/test_environ.py
@@ -560,7 +560,7 @@ class TestResponse(unittest.TestCase):
self.assertEqual(['foo'], headers)
self.assertEqual('foo', response['x-test'])
- response.set_header('X-Test', 'bar', True)
+ response.add_header('X-Test', 'bar')
headers = [value for name, value in response.headerlist
if name.title() == 'X-Test']
self.assertEqual(['foo', 'bar'], headers)