mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-11 02:07:37 -08:00
17 lines
767 B
Diff
17 lines
767 B
Diff
https://github.com/celery/celery/commit/fb48b1f357f7a416d1413d0056158a74191185af.diff
|
|
diff --git a/celery/tests/backends/test_mongodb.py b/celery/tests/backends/test_mongodb.py
|
|
index f7546d3..a32d9ed 100644
|
|
--- a/celery/tests/backends/test_mongodb.py
|
|
+++ b/celery/tests/backends/test_mongodb.py
|
|
@@ -253,8 +253,8 @@ def test_restore_group(self, mock_get_database):
|
|
mock_collection.find_one.assert_called_once_with(
|
|
{'_id': sentinel.taskset_id})
|
|
self.assertItemsEqual(
|
|
- ['date_done', 'result', 'task_id'],
|
|
- list(ret_val.keys()),
|
|
+ list(sorted(['date_done', 'result', 'task_id'])),
|
|
+ list(sorted(ret_val.keys())),
|
|
)
|
|
|
|
@patch('celery.backends.mongodb.MongoBackend._get_database')
|