Commit 0304b762 authored by Florent Chehab's avatar Florent Chehab
Browse files

All tests operationnal

parent 9e8a19fa
Pipeline #26539 passed with stages
in 2 minutes and 9 seconds
......@@ -52,7 +52,7 @@ from backend.models.user import PreviousDepartureViewSet
from backend.models.user import PreviousDepartureFeedbackViewSet
from backend.models.user import UserDataViewSet
from backend.models.moderation import PendingModerationViewSet
from backend.models.my_model import PendingModerationViewSet
from rest_framework.documentation import include_docs_urls
......@@ -66,8 +66,10 @@ urlpatterns = [
router = routers.DefaultRouter()
if settings.TESTING:
from backend.models.moderation import ForTestingModerationViewSet
from backend.models.my_model import ForTestingModerationViewSet
from backend.models.my_model import ForTestingVersionningViewSet
router.register(r'test/moderation', ForTestingModerationViewSet)
router.register(r'test/versionning', ForTestingVersionningViewSet)
router.register(r'country', CountryViewSet)
router.register(r'city', CityViewSet)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment