forked from DGNum/gestioCOF
black
This commit is contained in:
parent
a2116bf290
commit
4e34583e3f
2 changed files with 1 additions and 7 deletions
|
@ -342,4 +342,3 @@ class PetitCoursDemandeRawViewTestCase(ViewTestCaseMixin, TestCase):
|
||||||
|
|
||||||
self.assertEqual(resp.status_code, 200)
|
self.assertEqual(resp.status_code, 200)
|
||||||
self.assertTrue(resp.context["success"], msg=str(resp.context["form"].errors))
|
self.assertTrue(resp.context["success"], msg=str(resp.context["form"].errors))
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import csv
|
import csv
|
||||||
import json
|
|
||||||
import os
|
import os
|
||||||
import uuid
|
import uuid
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
|
@ -20,11 +19,7 @@ from gestioncof.autocomplete import Clipper
|
||||||
from gestioncof.models import CalendarSubscription, Club, Event, Survey, SurveyAnswer
|
from gestioncof.models import CalendarSubscription, Club, Event, Survey, SurveyAnswer
|
||||||
from gestioncof.tests.testcases import ViewTestCaseMixin
|
from gestioncof.tests.testcases import ViewTestCaseMixin
|
||||||
|
|
||||||
from .utils import (
|
from .utils import create_member, create_root, create_user
|
||||||
create_member,
|
|
||||||
create_root,
|
|
||||||
create_user,
|
|
||||||
)
|
|
||||||
|
|
||||||
User = get_user_model()
|
User = get_user_model()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue