diff options
author | Tim Graham <timograham@gmail.com> | 2014-12-15 12:04:07 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2014-12-15 12:04:07 -0500 |
commit | e8223b889aab3b5ac0c2312eb9ee2307ea635c97 (patch) | |
tree | 298aa72fdec360bd38c8695308999e056731df7e /tests/generic_relations_regress | |
parent | d8182f294aa0a8dfb3ea4611a9adb7a748a36bf4 (diff) | |
download | django-e8223b889aab3b5ac0c2312eb9ee2307ea635c97.tar.gz |
Corrected test assertion from refs #21403.
Diffstat (limited to 'tests/generic_relations_regress')
-rw-r--r-- | tests/generic_relations_regress/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |