forked from DGNum/gestioCOF
Renomme testcases.py -> mixins.py
This commit is contained in:
parent
bb72a16b64
commit
3b43ad84b5
6 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ from django.conf import settings
|
||||||
from django.core.management import call_command
|
from django.core.management import call_command
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
from shared.tests.testcases import ViewTestCaseMixin
|
from shared.tests.mixins import ViewTestCaseMixin
|
||||||
|
|
||||||
from ..models import CategorieSpectacle, Salle, Spectacle, Tirage
|
from ..models import CategorieSpectacle, Salle, Spectacle, Tirage
|
||||||
from .utils import create_user
|
from .utils import create_user
|
|
@ -8,7 +8,7 @@ from django.urls import reverse
|
||||||
from django.utils import formats, timezone
|
from django.utils import formats, timezone
|
||||||
|
|
||||||
from ..models import Participant, Tirage
|
from ..models import Participant, Tirage
|
||||||
from .testcases import BdATestHelpers, BdAViewTestCaseMixin
|
from .mixins import BdATestHelpers, BdAViewTestCaseMixin
|
||||||
|
|
||||||
User = get_user_model()
|
User = get_user_model()
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from gestioncof.models import Event
|
from gestioncof.models import Event
|
||||||
from shared.tests.testcases import (
|
from shared.tests.mixins import (
|
||||||
CSVResponseMixin,
|
CSVResponseMixin,
|
||||||
ViewTestCaseMixin as BaseViewTestCaseMixin,
|
ViewTestCaseMixin as BaseViewTestCaseMixin,
|
||||||
)
|
)
|
|
@ -16,8 +16,8 @@ from django.urls import reverse
|
||||||
|
|
||||||
from bda.models import Salle, Tirage
|
from bda.models import Salle, Tirage
|
||||||
from gestioncof.models import CalendarSubscription, Club, Event, Survey, SurveyAnswer
|
from gestioncof.models import CalendarSubscription, Club, Event, Survey, SurveyAnswer
|
||||||
from gestioncof.tests.testcases import MegaHelperMixin, ViewTestCaseMixin
|
from gestioncof.tests.mixins import MegaHelperMixin, ViewTestCaseMixin
|
||||||
from shared.tests.testcases import ICalMixin, MockLDAPMixin
|
from shared.tests.mixins import ICalMixin, MockLDAPMixin
|
||||||
from shared.views.autocomplete import Clipper
|
from shared.views.autocomplete import Clipper
|
||||||
|
|
||||||
from .utils import create_member, create_root, create_user
|
from .utils import create_member, create_root, create_user
|
||||||
|
|
|
@ -5,7 +5,7 @@ from django.contrib.auth import get_user_model
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
|
|
||||||
from gestioncof.tests.testcases import ViewTestCaseMixin
|
from gestioncof.tests.mixins import ViewTestCaseMixin
|
||||||
|
|
||||||
from .utils import (
|
from .utils import (
|
||||||
PetitCoursTestHelpers,
|
PetitCoursTestHelpers,
|
||||||
|
|
Loading…
Reference in a new issue