summaryrefslogtreecommitdiff
path: root/tests/modeltests/tablespaces
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-05-12 19:58:32 +0200
committerClaude Paroz <claude@2xlibre.net>2012-05-12 19:58:32 +0200
commit33ffd28d76d775c970691a3da282e98b349735c4 (patch)
treeae8865ff3edb72d70f6afcfe586f4e23b84660c3 /tests/modeltests/tablespaces
parentde79d23ce04193e0bc140991533359002f62ddf9 (diff)
Added missing relative imports in test files.
Diffstat (limited to 'tests/modeltests/tablespaces')
-rw-r--r--tests/modeltests/tablespaces/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/modeltests/tablespaces/tests.py b/tests/modeltests/tablespaces/tests.py
index 17fdb8dd74..1eaddef079 100644
--- a/tests/modeltests/tablespaces/tests.py
+++ b/tests/modeltests/tablespaces/tests.py
@@ -1,3 +1,5 @@
+from __future__ import absolute_import
+
import copy
from django.conf import settings
@@ -7,7 +9,7 @@ from django.db.models.loading import cache
from django.core.management.color import no_style
from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature
-from models import Article, ArticleRef, Authors, Reviewers, Scientist, ScientistRef
+from .models import Article, ArticleRef, Authors, Reviewers, Scientist, ScientistRef
# We can't test the DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE settings
# because they're evaluated when the model class is defined. As a consequence,