Remove saclay asset, add new fixtures for activity and notes, clean some migrations
This commit is contained in:
parent
5b15c659fe
commit
3a3e3be64c
22 changed files with 71 additions and 141 deletions
|
|
@ -36,7 +36,7 @@ class TestActivities(TestCase):
|
|||
name="Activity",
|
||||
description="This is a test activity\non two very very long lines\nbecause this is very important.",
|
||||
location="Earth",
|
||||
activity_type=ActivityType.objects.get(name="Pot"),
|
||||
activity_type=ActivityType.objects.get(name="Activit\u00e9 gratuite ouverte"),
|
||||
creater=self.user,
|
||||
organizer=Club.objects.get(name="Kfet"),
|
||||
attendees_club=Club.objects.get(name="Kfet"),
|
||||
|
|
@ -70,7 +70,7 @@ class TestActivities(TestCase):
|
|||
name="Activity created",
|
||||
description="This activity was successfully created.",
|
||||
location="Earth",
|
||||
activity_type=ActivityType.objects.get(name="Soirée de club").id,
|
||||
activity_type=ActivityType.objects.get(name="Soir\u00e9e").id,
|
||||
creater=self.user.id,
|
||||
organizer=Club.objects.get(name="Kfet").id,
|
||||
attendees_club=Club.objects.get(name="Kfet").id,
|
||||
|
|
@ -100,7 +100,7 @@ class TestActivities(TestCase):
|
|||
name=str(self.activity) + " updated",
|
||||
description="This activity was successfully updated.",
|
||||
location="Earth",
|
||||
activity_type=ActivityType.objects.get(name="Autre").id,
|
||||
activity_type=ActivityType.objects.get(name="Soir\u00e9e").id,
|
||||
creater=self.user.id,
|
||||
organizer=Club.objects.get(name="Kfet").id,
|
||||
attendees_club=Club.objects.get(name="Kfet").id,
|
||||
|
|
@ -186,7 +186,7 @@ class TestActivityAPI(TestAPI):
|
|||
name="Activity",
|
||||
description="This is a test activity\non two very very long lines\nbecause this is very important.",
|
||||
location="Earth",
|
||||
activity_type=ActivityType.objects.get(name="Pot"),
|
||||
activity_type=ActivityType.objects.get(name="Activit\u00e9 gratuite ouverte"),
|
||||
creater=self.user,
|
||||
organizer=Club.objects.get(name="Kfet"),
|
||||
attendees_club=Club.objects.get(name="Kfet"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue