Commit e9c19438 authored by Skia's avatar Skia 🤘
Browse files

Fix tests and CI

parent 321dead0
Pipeline #375 failed with stage
in 2 minutes and 50 seconds
test: test:
script: script:
- pip install -r requirements.txt - pip install -r requirements.txt
- python compilemessages
- python test - python test
...@@ -54,5 +54,5 @@ class ClubTest(TestCase): ...@@ -54,5 +54,5 @@ class ClubTest(TestCase):
self.client.login(username='rbatsbak', password='plop') self.client.login(username='rbatsbak', password='plop')
response ="club:club_members", kwargs={"club_id"}), {"user":, "role": 10}) response ="club:club_members", kwargs={"club_id"}), {"user":, "role": 10})
self.assertTrue(response.status_code == 200) self.assertTrue(response.status_code == 200)
self.assertTrue("<li>You do not have the permission to do that</li>" in str(response.content)) self.assertTrue("<li>Vous n&#39;avez pas la permission de faire cela</li>" in str(response.content))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment