from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns
from .views import (ObtainEmailCallbackToken,
                    ObtainMobileCallbackToken,
                    ObtainAuthTokenFromCallbackToken,
                    VerifyAliasFromCallbackToken,
                    ObtainEmailVerificationCallbackToken,
                    ObtainMobileVerificationCallbackToken,
                    )

urlpatterns = [url(r'^callback/auth/$', ObtainAuthTokenFromCallbackToken.as_view(), name='auth_callback'),
               url(r'^auth/email/$', ObtainEmailCallbackToken.as_view(), name='auth_email'),
               url(r'^auth/mobile/$', ObtainMobileCallbackToken.as_view(), name='auth_mobile'),
               url(r'^callback/verify/$', VerifyAliasFromCallbackToken.as_view(), name='verify_callback'),
               url(r'^verify/email/$', ObtainEmailVerificationCallbackToken.as_view(), name='verify_email'),
               url(r'^verify/mobile/$', ObtainMobileVerificationCallbackToken.as_view(), name='verify_mobile')]

format_suffix_patterns(urlpatterns)

@@ -1054,40 +1054,4 @@
 )%5D%0A%0A
-format_suffix_patterns(urlpatterns)%0A

Fix tests