fixe tests

This commit is contained in:
Qwann 2017-07-26 13:48:12 +02:00
parent f87fe3d5a0
commit 5e1a0cc0ef
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ class SubscriptionTest(TestCase):
title='TestEvent', title='TestEvent',
slug='test', slug='test',
created_by=cls.root, created_by=cls.root,
creation_date=timezone.now(), created_at=timezone.now(),
description="Ceci est un test", description="Ceci est un test",
beginning_date=timezone.now() beginning_date=timezone.now()
+ timedelta(days=30), + timedelta(days=30),

View file

@ -22,7 +22,7 @@ class ActivityInheritanceTest(TestCase):
title='La Nuit 2042', title='La Nuit 2042',
slug='nuit42', slug='nuit42',
created_by=cls.erkan, created_by=cls.erkan,
creation_date=timezone.now(), created_at=timezone.now(),
description="La nuit c'est lol", description="La nuit c'est lol",
beginning_date=timezone.now() beginning_date=timezone.now()
+ timedelta(days=30), + timedelta(days=30),