* Added patch to fix test_request_cookie_parsing which fixes FTBFS

(Closes: #811490, #811465).
This commit is contained in:
Thomas Goirand
2016-01-20 07:29:14 +00:00
parent ca866b5275
commit 2b589599db
3 changed files with 26 additions and 0 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
python-falcon (0.3.0-5) unstable; urgency=medium
* Added patch to fix test_request_cookie_parsing which fixes FTBFS
(Closes: #811490, #811465).
-- Thomas Goirand <zigo@debian.org> Wed, 20 Jan 2016 07:27:47 +0000
python-falcon (0.3.0-4) unstable; urgency=medium
* Uploading to unstable.

View File

@@ -0,0 +1,18 @@
Description: Fix test_request_cookie_parsing()
This patch cherry-picks change in this function from upstream HEAD.
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/811490
Forwarded: not-needed
Last-Update: 2016-01-20
--- python-falcon-0.3.0.orig/tests/test_cookies.py
+++ python-falcon-0.3.0/tests/test_cookies.py
@@ -131,7 +131,7 @@ class TestCookies(testing.TestBase):
def test_request_cookie_parsing(self):
# testing with a github-ish set of cookies
headers = [
- ('Cookie', '''Cookie:
+ ('Cookie', '''
logged_in=no;_gh_sess=eyJzZXXzaW9uX2lkIjoiN2;
tz=Europe/Berlin; _ga=GA1.2.332347814.1422308165;
_gat=1;

View File

@@ -1,2 +1,3 @@
fix-non-ascii-in-doc.patch
fix-bad-case-compare-in-python3-tests.patch
fixes-test_request_cookie_parsing.patch