1
0
forked from pool/python-bottle
python-bottle/fix_cookie_test.patch
Matej Cepl f7d89fe371 Accepting request 848401 from home:benoit_monin:branches:devel:languages:python
- update to version 0.12.19: bugfix release
- add fix_cookie_test.patch: imported from upstream master branch
- update the documentation pdf
- remove the separate LICENSE file: now packaged in release
- drop removing the executable bit from egg-info files: fixed
- run the tests during build

OBS-URL: https://build.opensuse.org/request/show/848401
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=35
2020-11-14 11:24:31 +00:00

12 lines
473 B
Diff

--- bottle-0.12.19.orig/test/test_environ.py
+++ bottle-0.12.19/test/test_environ.py
@@ -624,7 +624,7 @@ class TestResponse(unittest.TestCase):
response.delete_cookie('name')
cookies = [value for name, value in response.headerlist
if name.title() == 'Set-Cookie']
- self.assertTrue('name=;' in cookies[0])
+ self.assertTrue('Max-Age=-1' in cookies[0])
def test_set_header(self):
response = BaseResponse()