mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Corrected test assertion from refs #21403.
This commit is contained in:
		| @@ -228,7 +228,7 @@ class GenericRelationTests(TestCase): | ||||
|         # then wrong results are produced here as the link to b will also match | ||||
|         # (b and hs1 have equal pks). | ||||
|         self.assertEqual(qs.count(), 1) | ||||
|         self.assertEqual(qs[0].links__sum, l.id) | ||||
|         self.assertEqual(qs[0].links__sum, hs1.id) | ||||
|         l.delete() | ||||
|         # Now if we don't have proper left join, we will not produce any | ||||
|         # results at all here. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user