diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4933c51c..b9f20e12 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ test: script: - pip install -r requirements.txt + - python manage.py compilemessages - python manage.py test diff --git a/club/tests.py b/club/tests.py index e20a0ba0..d8ee12d2 100644 --- a/club/tests.py +++ b/club/tests.py @@ -54,5 +54,5 @@ class ClubTest(TestCase): self.client.login(username='rbatsbak', password='plop') response = self.client.post(reverse("club:club_members", kwargs={"club_id":self.bdf.id}), {"user": self.skia.id, "role": 10}) self.assertTrue(response.status_code == 200) - self.assertTrue("
  • You do not have the permission to do that
  • " in str(response.content)) + self.assertTrue("
  • Vous n'avez pas la permission de faire cela
  • " in str(response.content))