|  | @@ -10,7 +10,7 @@ from celery import uuid
 | 
	
		
			
				|  |  |  from celery import states
 | 
	
		
			
				|  |  |  from celery.backends import mongodb as module
 | 
	
		
			
				|  |  |  from celery.backends.mongodb import (
 | 
	
		
			
				|  |  | -    InvalidDocument, MongoBackend, Bunch, pymongo,
 | 
	
		
			
				|  |  | +    InvalidDocument, MongoBackend, pymongo,
 | 
	
		
			
				|  |  |  )
 | 
	
		
			
				|  |  |  from celery.exceptions import ImproperlyConfigured
 | 
	
		
			
				|  |  |  from celery.tests.case import (
 | 
	
	
		
			
				|  | @@ -49,11 +49,6 @@ class test_MongoBackend(AppCase):
 | 
	
		
			
				|  |  |          module.Binary = self._reset['Binary']
 | 
	
		
			
				|  |  |          datetime.datetime = self._reset['datetime']
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    def test_Bunch(self):
 | 
	
		
			
				|  |  | -        x = Bunch(foo='foo', bar=2)
 | 
	
		
			
				|  |  | -        self.assertEqual(x.foo, 'foo')
 | 
	
		
			
				|  |  | -        self.assertEqual(x.bar, 2)
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      def test_init_no_mongodb(self):
 | 
	
		
			
				|  |  |          prev, module.pymongo = module.pymongo, None
 | 
	
		
			
				|  |  |          try:
 |