From b330b918e979ea39a21d47b61172d112caf432c3 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 14 Feb 2020 13:16:17 +0100 Subject: [PATCH] Removed unused and incorrect PossessedCar.__str__() method in test_utils. PossessedCar doesn't have a color. --- tests/test_utils/models.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_utils/models.py b/tests/test_utils/models.py index e94d44356b..f48c90dd08 100644 --- a/tests/test_utils/models.py +++ b/tests/test_utils/models.py @@ -19,6 +19,3 @@ class Person(models.Model): class PossessedCar(models.Model): car = models.ForeignKey(Car, models.CASCADE) belongs_to = models.ForeignKey(Person, models.CASCADE) - - def __str__(self): - return self.color