This commit is contained in:
virusdefender
2017-01-23 16:48:04 +08:00
parent cfde5b93e5
commit d9fad97e35
27 changed files with 46 additions and 52 deletions

View File

@@ -3,12 +3,12 @@ from unittest import mock
from django.contrib import auth
from django.utils.translation import ugettext as _
from otpauth import OtpAuth
from utils.shortcuts import rand_str
from utils.api.tests import APITestCase, APIClient
from .models import User, AdminType
from utils.api.tests import APIClient, APITestCase
from utils.shortcuts import rand_str
from .models import AdminType, User
class PermissionDecoratorTest(APITestCase):