diff --git a/lostplaces/lostplaces_app/tests/models/test_place_image_model.py b/lostplaces/lostplaces_app/tests/models/test_place_image_model.py index 9093982..bd1bf41 100644 --- a/lostplaces/lostplaces_app/tests/models/test_place_image_model.py +++ b/lostplaces/lostplaces_app/tests/models/test_place_image_model.py @@ -50,3 +50,6 @@ class TestPlaceImage(TestSubmittable, TestCase): ) ) + def test_str(self): + place_image = mock_place_image() + self.assertEqual(str(place_image), ' '.join([place_image.place.name, str(place_image.pk)]))