diff --git a/core/templates/core/404.jinja b/core/templates/core/404.jinja index 3846ed70..a777cea6 100644 --- a/core/templates/core/404.jinja +++ b/core/templates/core/404.jinja @@ -4,9 +4,6 @@

{% trans %}404, Not Found{% endtrans %}

-

- {{ exception }} -

{% endblock %} diff --git a/galaxy/tests.py b/galaxy/tests.py index 595844b2..d5957a16 100644 --- a/galaxy/tests.py +++ b/galaxy/tests.py @@ -142,8 +142,4 @@ class GalaxyTest(TestCase): Galaxy.rule() self.client.login(username="root", password="plop") response = self.client.get("/galaxy/2/") - self.assertContains( - response, - "Ce citoyen n'a pas encore rejoint la galaxie", - status_code=404, - ) + self.assertEquals(response.status_code, 404)