From 06bf4f477fb292ee31ff492881e438c8f0695bb8 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Thu, 16 Oct 2025 10:59:51 +0200 Subject: [PATCH] Fixed test --- modoboa/relaydomains/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa/relaydomains/tests.py b/modoboa/relaydomains/tests.py index f1431dbfd..40bba1a16 100644 --- a/modoboa/relaydomains/tests.py +++ b/modoboa/relaydomains/tests.py @@ -76,7 +76,7 @@ class RelayDomainsTestCase(ModoAPITestCase, Operations): response = self.client.get(url) self.assertEqual(response.status_code, 200) content = response.json() - self.assertEqual(len(content), 3) + self.assertEqual(content["count"], 3) def test_create_relaydomain(self): """Test the creation of a relay domain.