From 08db9e7ca3179475ece3ae4baa4fe8d2f8fb1c06 Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Sun, 5 Oct 2014 12:55:09 +0200 Subject: [PATCH] Importation cleanup. --- cachalot/tests.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cachalot/tests.py b/cachalot/tests.py index d6a2cd0..6a14ef6 100644 --- a/cachalot/tests.py +++ b/cachalot/tests.py @@ -1,14 +1,13 @@ # coding: utf-8 from __future__ import unicode_literals -from cachalot.settings import cachalot_settings - +import datetime try: from unittest import skip, skipIf except ImportError: # For Python 2.6 from unittest2 import skip, skipIf -import datetime + from django.conf import settings from django.contrib.auth.models import User, Permission, Group from django.core.exceptions import MultipleObjectsReturned @@ -18,6 +17,8 @@ from django.db.models import ( DateField, DateTimeField, Count) from django.test import TestCase +from .settings import cachalot_settings + class Test(Model): name = CharField(max_length=20)