forked from pool/python-bottle
Matej Cepl
f7d89fe371
- 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
12 lines
473 B
Diff
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()
|