Bastien Gérard 
							
						 
					 
					
						
						
							
						
						d4350e7da4 
					 
					
						
						
							
							Fix for ListField that isnt detecting properly that item 0 is changed  
						
						
						
						
					 
					
						2020-10-10 23:32:22 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						ef7da36ac6 
					 
					
						
						
							
							Update pre-commit and fix existing flake8 warnings once for all  
						
						
						
						
					 
					
						2020-04-25 21:36:07 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						8086576677 
					 
					
						
						
							
							get rid of six  
						
						
						
						
					 
					
						2020-03-11 23:07:03 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						c85b59d3b5 
					 
					
						
						
							
							Merge branch 'master' of github.com:MongoEngine/mongoengine into negative_indexes_in_list  
						
						
						
						
					 
					
						2019-12-20 23:27:51 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						332bd767d4 
					 
					
						
						
							
							minor fixes in tests  
						
						
						
						
					 
					
						2019-12-20 23:20:15 +01:00 
						 
				 
			
				
					
						
							
							
								Eric Timmons 
							
						 
					 
					
						
						
							
						
						68dc2925fb 
					 
					
						
						
							
							Add LazyReferenceField with dbref=True to embedded_document equality test  
						
						
						
						
					 
					
						2019-12-15 20:21:22 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Timmons 
							
						 
					 
					
						
						
							
						
						dc7b96a569 
					 
					
						
						
							
							Make python value for LazyReferenceFields be a DBRef  
						
						... 
						
						
						
						Previously, when reading a LazyReferenceField from the DB, it was stored
internally in the parent document's _data field as an ObjectId. However, this
meant that equality tests using an enclosing EmbeddedDocument would not return
True when the EmbeddedDocument being compared to contained a DBRef or Document
in _data. Enclosing Documents were largely unaffected because they look at the
primary key for equality (which EmbeddedDocuments lack).
This makes the internal Python representation of a LazyReferenceField (before
the LazyReference itself has been constructed) a DBRef, using code identical to
ReferenceField. 
						
						
					 
					
						2019-12-15 20:20:59 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Timmons 
							
						 
					 
					
						
						
							
						
						50882e5bb0 
					 
					
						
						
							
							Add failing test  
						
						... 
						
						
						
						Test that __eq__ for EmbeddedDocuments with LazyReferenceFields works as
expected. 
						
						
					 
					
						2019-12-15 20:20:59 -05:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						78b240b740 
					 
					
						
						
							
							updated changelog + improved query_counter test  
						
						
						
						
					 
					
						2019-12-04 21:51:07 +01:00 
						 
				 
			
				
					
						
							
							
								Eloi Zalczer 
							
						 
					 
					
						
						
							
						
						0bf08db7b9 
					 
					
						
						
							
							Added test case for query_counter alias  
						
						
						
						
					 
					
						2019-12-02 10:07:33 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						138e759161 
					 
					
						
						
							
							Merge pull request  #2187  from bagerard/improve_error_message_InvalidDocumentError  
						
						... 
						
						
						
						Improve error message from InvalidDocumentError 
						
						
					 
					
						2019-11-08 21:27:17 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						bc0c55e49a 
					 
					
						
						
							
							improve tests health (flake8 warnings)  
						
						
						
						
					 
					
						2019-10-31 23:01:27 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						c61c6a8525 
					 
					
						
						
							
							fix == None assertions  
						
						
						
						
					 
					
						2019-10-31 22:59:49 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						3e764d068c 
					 
					
						
						
							
							fix remaining assertRaises  
						
						
						
						
					 
					
						2019-10-31 22:59:49 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						ac25f4b98b 
					 
					
						
						
							
							ran unittest2pytest  
						
						
						
						
					 
					
						2019-10-31 22:59:49 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						37ca79e9c5 
					 
					
						
						
							
							fix black formatting  
						
						
						
						
					 
					
						2019-10-31 22:39:53 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						54ca7bf09f 
					 
					
						
						
							
							fix associated test to avoid discrepencies btw py2 and py3  
						
						
						
						
					 
					
						2019-10-28 23:33:37 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						8bf5370b6c 
					 
					
						
						
							
							Improve error message from InvalidDocumentError whenever an embedded document has a bad shape (e.g due to migration)  
						
						
						
						
					 
					
						2019-10-28 22:05:13 +01:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						ddececbfea 
					 
					
						
						
							
							rename all test files so that they are prefixed by test_{orginal_filename}.py  
						
						
						
						
					 
					
						2019-08-28 16:01:44 +03:00