Codebase list flask-restful / c96f6e8
replace-flask_abort-by-_aborter.patch Thomas Goirand 1 year, 4 months ago
3 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
55 * Fix autopkgtest so it works with multiple Python interpreter installed (ie:
66 kill the flask-restful server before trying to spawn a 2nd one).
77 (Closes: #1024913).
8 * Add replace-flask_abort-by-_aborter.patch
89
910 -- Thomas Goirand <zigo@debian.org> Mon, 12 Dec 2022 11:04:27 +0100
1011
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})
22 0003-Use-local-copies-of-object.inv-for-building-document.patch
33 0004-Use-SOURCE_DATE_EPOCH-for-copyright-year-to-make-bui.patch
44 Fix_the_tests_with_flask_2.1.2.patch
5 replace-flask_abort-by-_aborter.patch