Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/webob/files: webob-1.2.3-tests.patch
Date: Thu, 06 Jun 2013 11:30:25
Message-Id: 20130606113019.7EFF52171D@flycatcher.gentoo.org
1 idella4 13/06/06 11:30:19
2
3 Added: webob-1.2.3-tests.patch
4 Log:
5 patch from upstream applied, fix to one tests, wrt Bug #457740 by mgorny
6
7 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.1 dev-python/webob/files/webob-1.2.3-tests.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/files/webob-1.2.3-tests.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/files/webob-1.2.3-tests.patch?rev=1.1&content-type=text/plain
14
15 Index: webob-1.2.3-tests.patch
16 ===================================================================
17 From 3a2c16f2f72dbca5ddfce7f649daf426c2125fed Mon Sep 17 00:00:00 2001
18 From: Aaron DeVore <aaron.devore@×××××.com>
19 Date: Tue, 30 Oct 2012 11:55:30 -0700
20 Subject: [PATCH] Fix issue #75: depending on dict order in test_headers2
21
22 ---
23 tests/test_request.py | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26 diff --git a/tests/test_request.py b/tests/test_request.py
27 index f219d36..3e38e7a 100644
28 --- a/tests/test_request.py
29 +++ b/tests/test_request.py
30 @@ -2662,7 +2662,7 @@ def test_headers2(self):
31 self.assertTrue(i in r.headers and
32 'HTTP_'+i.upper().replace('-', '_') in r.environ)
33 r.headers = {'Server':'Apache'}
34 - self.assertEqual(list(r.environ.keys()), ['a', 'HTTP_SERVER'])
35 + self.assertEqual(set(r.environ.keys()), set(['a', 'HTTP_SERVER']))
36
37 def test_host_url(self):
38 # Request has a read only property host_url that combines several
39 --
40 1.8.1.6