소스 검색

Fix for broken build 721 due to safe parameter

rfkrocktk 12 년 전
부모
커밋
2845ef67bd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/tests/backends/test_mongodb.py

+ 1 - 1
celery/tests/backends/test_mongodb.py

@@ -287,7 +287,7 @@ class test_MongoBackend(AppCase):
         mock_database.__getitem__.assert_called_once_with(
             MONGODB_COLLECTION)
         mock_collection.remove.assert_called_once_with(
-            {'_id': sentinel.task_id}, safe=True)
+            {'_id': sentinel.task_id})
 
     @patch('celery.backends.mongodb.MongoBackend._get_database')
     def test_cleanup(self, mock_get_database):