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/celery/files: celery-3.1.11-test.patch
Date: Sun, 04 May 2014 10:18:40
Message-Id: 20140504101835.E95142004C@flycatcher.gentoo.org
1 idella4 14/05/04 10:18:35
2
3 Added: celery-3.1.11-test.patch
4 Log:
5 bump, rm olds
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.1 dev-python/celery/files/celery-3.1.11-test.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celery/files/celery-3.1.11-test.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celery/files/celery-3.1.11-test.patch?rev=1.1&content-type=text/plain
14
15 Index: celery-3.1.11-test.patch
16 ===================================================================
17 https://github.com/celery/celery/commit/fb48b1f357f7a416d1413d0056158a74191185af.diff
18 diff --git a/celery/tests/backends/test_mongodb.py b/celery/tests/backends/test_mongodb.py
19 index f7546d3..a32d9ed 100644
20 --- a/celery/tests/backends/test_mongodb.py
21 +++ b/celery/tests/backends/test_mongodb.py
22 @@ -253,8 +253,8 @@ def test_restore_group(self, mock_get_database):
23 mock_collection.find_one.assert_called_once_with(
24 {'_id': sentinel.taskset_id})
25 self.assertEqual(
26 - ['date_done', 'result', 'task_id'],
27 - list(ret_val.keys()),
28 + list(sorted(['date_done', 'result', 'task_id'])),
29 + list(sorted(ret_val.keys())),
30 )
31
32 @patch('celery.backends.mongodb.MongoBackend._get_database')
33 #diff -ur celery-3.1.10.orig/celery/tests/backends/test_mongodb.py celery-3.1.10/celery/tests/backends/test_mongodb.py
34 #--- celery-3.1.10.orig/celery/tests/backends/test_mongodb.py 2014-02-28 21:43:26.000000000 +0800
35 #+++ celery-3.1.10/celery/tests/backends/test_mongodb.py 2014-04-17 11:43:00.818430253 +0800