From e8223b889aab3b5ac0c2312eb9ee2307ea635c97 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 15 Dec 2014 12:04:07 -0500 Subject: [PATCH] Corrected test assertion from refs #21403. --- tests/generic_relations_regress/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic_relations_regress/tests.py b/tests/generic_relations_regress/tests.py index 39dfa47f68..5b0f48c1b0 100644 --- a/tests/generic_relations_regress/tests.py +++ b/tests/generic_relations_regress/tests.py @@ -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.