mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-10 19:26:35 +03:00
remove unnecessary settings from tests
This commit is contained in:
parent
6993e98282
commit
1d9379c43b
|
@ -3,8 +3,8 @@ python:
|
|||
- "2.6"
|
||||
- "2.7"
|
||||
env:
|
||||
- DJANGO=1.5.7 DJANGO_SETTINGS_MODULE="rest_auth.test_settings"
|
||||
- DJANGO=1.6.4 DJANGO_SETTINGS_MODULE="rest_auth.test_settings"
|
||||
- DJANGO=1.5.7
|
||||
- DJANGO=1.6.4
|
||||
install:
|
||||
- pip install -q Django==$DJANGO --use-mirrors
|
||||
script:
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
import json
|
||||
import os
|
||||
import sys
|
||||
from datetime import datetime, date, time
|
||||
from urlparse import urlparse
|
||||
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_settings'
|
||||
test_dir = os.path.dirname(__file__)
|
||||
sys.path.insert(0, test_dir)
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.urlresolvers import reverse
|
||||
|
@ -15,7 +8,6 @@ from django.test import TestCase
|
|||
from django.contrib.auth.models import User
|
||||
from django.contrib.auth import get_user_model
|
||||
from django.core import mail
|
||||
from django.core.urlresolvers import resolve
|
||||
|
||||
from registration.models import RegistrationProfile
|
||||
from rest_framework.serializers import _resolve_model
|
||||
|
|
Loading…
Reference in New Issue
Block a user