summaryrefslogtreecommitdiff
path: root/tests/test_utils
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-14 13:16:17 +0100
committerGitHub <noreply@github.com>2020-02-14 13:16:17 +0100
commitb330b918e979ea39a21d47b61172d112caf432c3 (patch)
tree145ff97b2b9271b94bdb3c1ff53ae354485dd966 /tests/test_utils
parentcd2d508707857b1f6b8d4b9f73cd3be9a5ca0a37 (diff)
Removed unused and incorrect PossessedCar.__str__() method in test_utils.
PossessedCar doesn't have a color.
Diffstat (limited to 'tests/test_utils')
-rw-r--r--tests/test_utils/models.py3
1 files changed, 0 insertions, 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