mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 04:03:22 +00:00
Edited unit tests
This test caused a breach in security due to the alert block displaying sensitive data.
This commit is contained in:
parent
16150905a0
commit
5ea181829e
@ -4,9 +4,6 @@
|
||||
|
||||
<div id="page">
|
||||
<h3>{% trans %}404, Not Found{% endtrans %}</h3>
|
||||
<p class="alert alert-red">
|
||||
{{ exception }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user