diff --git a/zds/mp/tests/tests_views.py b/zds/mp/tests/tests_views.py index ea1f824246..85b0eed8cf 100644 --- a/zds/mp/tests/tests_views.py +++ b/zds/mp/tests/tests_views.py @@ -950,4 +950,4 @@ def test_no_interference(self): self.client.force_login(self.participant.user) self.client.get(reverse("mp:mark-post-unread", kwargs={"pk": self.post2.pk}), follow=True) topic_read_new = PrivateTopicRead.objects.filter(privatetopic=self.topic1, user=self.author.user) - self.assertQuerysetEqual(topic_read_old, [repr(t) for t in topic_read_new]) + self.assertQuerysetEqual(topic_read_old, topic_read_new)