- Require pip and importlib-metadata to fix build. - Add fix-ParanoidTests-fail.patch to fix test failures in ParanoidTests. OBS-URL: https://build.opensuse.org/request/show/912052 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Paranoid?expand=0&rev=5
12 lines
393 B
Diff
12 lines
393 B
Diff
--- a/tests/test_paranoid.py
|
|
+++ b/tests/test_paranoid.py
|
|
@@ -7,7 +7,7 @@ from flask_paranoid import Paranoid
|
|
|
|
class ParanoidTests(unittest.TestCase):
|
|
def _delete_cookie(self, name):
|
|
- return (name + '=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; '
|
|
+ return (name + '=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; '
|
|
'Max-Age=0; Path=/')
|
|
|
|
def test_401(self):
|