"""
This urlconf exists because Django expects ROOT_URLCONF to exist. URLs
should be added within the test folders, and use TestCase.urls to set them.
This helps the tests remain isolated.
"""
from django.conf.urls import url, include

from rest_framework import routers

from ovp_users import views
from ovp_users import recover_password as rp

router = routers.DefaultRouter()
router.register(r'users', views.UserCreateViewSet, 'user')
router.register(r'users/current-user', views.CurrentUserViewSet, 'current-user')
router.register(r'users/recovery-token', rp.RecoveryTokenViewSet, 'recovery-token')
router.register(r'users/recover-password', rp.RecoverPasswordViewSet, 'recover-password')

urlpatterns = [
  url(r'^', include(router.urls)),
]

@@ -339,16 +339,71 @@
  as rp%0A%0A
+from rest_framework_jwt.views import obtain_jwt_token%0A%0A
 router =
@@ -793,10 +793,56 @@
 urls)),%0A
+  url(r'%5Eapi-token-auth/', obtain_jwt_token),%0A
 %5D%0A

Add api-token-auth to test urls