Closed aekoroglu closed 2 years ago
This fix unfortunately breaks tests for older python releases. Python SimpleCookie implementation changed behavior at some point, and 0.12 is supposed to work for Python 2.5 to 3.x. The only solution I see is to take python version into account for this test.
Cookie test is fixed now in release-0.12
branch (will be part of next release, whenever that happens).
Master branch has that change since https://github.com/bottlepy/bottle/pull/795 but not in any tagged release.
I applied the change into Fedora as: https://src.fedoraproject.org/rpms/python-bottle/blob/rawhide/f/test_delete_cookie.patch
Related issues: https://github.com/bottlepy/bottle/pull/791, https://github.com/bottlepy/bottle/pull/1125, https://github.com/bottlepy/bottle/pull/1190 and https://github.com/bottlepy/bottle/pull/1243