replace-flask_abort-by-_aborter.patch
Thomas Goirand
1 year, 4 months ago
5 | 5 |
* Fix autopkgtest so it works with multiple Python interpreter installed (ie:
|
6 | 6 |
kill the flask-restful server before trying to spawn a 2nd one).
|
7 | 7 |
(Closes: #1024913).
|
|
8 |
* Add replace-flask_abort-by-_aborter.patch
|
8 | 9 |
|
9 | 10 |
-- Thomas Goirand <zigo@debian.org> Mon, 12 Dec 2022 11:04:27 +0100
|
10 | 11 |
|
|
0 |
Description: Replace flask_abort by _aborter
|
|
1 |
Author: Thomas Goirand <zigo@debian.org>
|
|
2 |
Bug-Debian: https://bugs.debian.org/1024913
|
|
3 |
Forwarded: no
|
|
4 |
Last-Update: 2022-12-15
|
|
5 |
|
|
6 |
--- flask-restful-0.3.9.orig/tests/test_api.py
|
|
7 |
+++ flask-restful-0.3.9/tests/test_api.py
|
|
8 |
@@ -809,7 +809,7 @@ class APITestCase(unittest.TestCase):
|
|
9 |
|
|
10 |
class Foo1(flask_restful.Resource):
|
|
11 |
def get(self):
|
|
12 |
- flask_abort(304, etag='myETag')
|
|
13 |
+ _aborter(304, etag='myETag')
|
|
14 |
|
|
15 |
api.add_resource(Foo1, '/foo')
|
|
16 |
_aborter.mapping.update({304: NotModified})
|
2 | 2 |
0003-Use-local-copies-of-object.inv-for-building-document.patch
|
3 | 3 |
0004-Use-SOURCE_DATE_EPOCH-for-copyright-year-to-make-bui.patch
|
4 | 4 |
Fix_the_tests_with_flask_2.1.2.patch
|
|
5 |
replace-flask_abort-by-_aborter.patch
|