From a9179ab032cda80801e7f67ef20db5ee60989f21 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 21 Jun 2019 12:00:42 +0200 Subject: [PATCH] Fixed typo in BasicExpressionsTests.test_object_update_fk() test. --- tests/expressions/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index a8897fa0698..fb9fd3d1e29 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -285,7 +285,7 @@ class BasicExpressionsTests(TestCase): test_gmbh.point_of_contact = self.gmbh.ceo test_gmbh.save() - test_gmbh.name = F('ceo__last_name') + test_gmbh.name = F('ceo__lastname') msg = 'Joined field references are not permitted in this query' with self.assertRaisesMessage(FieldError, msg): test_gmbh.save()