Renomme testcases.py -> mixins.py

This commit is contained in:
Ludovic Stephan 2020-05-11 00:19:43 +02:00
parent bb72a16b64
commit 3b43ad84b5
6 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@ from django.conf import settings
from django.core.management import call_command
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 .utils import create_user

View file

@ -8,7 +8,7 @@ from django.urls import reverse
from django.utils import formats, timezone
from ..models import Participant, Tirage
from .testcases import BdATestHelpers, BdAViewTestCaseMixin
from .mixins import BdATestHelpers, BdAViewTestCaseMixin
User = get_user_model()

View file

@ -1,5 +1,5 @@
from gestioncof.models import Event
from shared.tests.testcases import (
from shared.tests.mixins import (
CSVResponseMixin,
ViewTestCaseMixin as BaseViewTestCaseMixin,
)

View file

@ -16,8 +16,8 @@ from django.urls import reverse
from bda.models import Salle, Tirage
from gestioncof.models import CalendarSubscription, Club, Event, Survey, SurveyAnswer
from gestioncof.tests.testcases import MegaHelperMixin, ViewTestCaseMixin
from shared.tests.testcases import ICalMixin, MockLDAPMixin
from gestioncof.tests.mixins import MegaHelperMixin, ViewTestCaseMixin
from shared.tests.mixins import ICalMixin, MockLDAPMixin
from shared.views.autocomplete import Clipper
from .utils import create_member, create_root, create_user

View file

@ -5,7 +5,7 @@ from django.contrib.auth import get_user_model
from django.test import TestCase
from django.urls import reverse
from gestioncof.tests.testcases import ViewTestCaseMixin
from gestioncof.tests.mixins import ViewTestCaseMixin
from .utils import (
PetitCoursTestHelpers,