From dfab3d30a1bfcd62d68a6be2ee4fbf95eb9c7dd7 Mon Sep 17 00:00:00 2001 From: Wiktor Kolodziej Date: Sat, 17 Dec 2011 20:32:53 +0100 Subject: [PATCH] Fixing model imports for tests --- cachebot/tests/base_tests.py | 2 +- cachebot/tests/manager_tests.py | 2 +- cachebot/tests/many_to_many_tests.py | 2 +- cachebot/tests/no_cache_tests.py | 2 +- cachebot/tests/reverse_lookup_tests.py | 2 +- cachebot/tests/values_tests.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cachebot/tests/base_tests.py b/cachebot/tests/base_tests.py index 627a8e7..f603922 100644 --- a/cachebot/tests/base_tests.py +++ b/cachebot/tests/base_tests.py @@ -4,7 +4,7 @@ from django.db.models import Q from django.test import TestCase -from cachebot.models import FirstModel, SecondModel, ThirdModel, GenericModel, ManyModel +from cachebot.test_models import FirstModel, SecondModel, ThirdModel, GenericModel, ManyModel from cachebot.utils import flush_cache class BaseTestCase(TestCase): diff --git a/cachebot/tests/manager_tests.py b/cachebot/tests/manager_tests.py index 1dd7165..932ab01 100644 --- a/cachebot/tests/manager_tests.py +++ b/cachebot/tests/manager_tests.py @@ -4,7 +4,7 @@ from django.conf import settings from cachebot import conf -from cachebot.models import FirstModel +from cachebot.test_models import FirstModel from cachebot.tests.base_tests import BaseTestCase, BasicCacheTests, FieldCacheTests, RelatedCacheTests, ExtraRelatedCacheTests class GetBasicCacheTests(BasicCacheTests): diff --git a/cachebot/tests/many_to_many_tests.py b/cachebot/tests/many_to_many_tests.py index 75e2ed0..a6ab37a 100644 --- a/cachebot/tests/many_to_many_tests.py +++ b/cachebot/tests/many_to_many_tests.py @@ -1,4 +1,4 @@ -from cachebot.models import ManyModel +from cachebot.test_models import ManyModel from cachebot.tests.base_tests import BasicCacheTests, RelatedCacheTests class BasicManyToManyCacheTests(BasicCacheTests): diff --git a/cachebot/tests/no_cache_tests.py b/cachebot/tests/no_cache_tests.py index 3707124..dc4753b 100644 --- a/cachebot/tests/no_cache_tests.py +++ b/cachebot/tests/no_cache_tests.py @@ -1,5 +1,5 @@ from cachebot import conf -from cachebot.models import FirstModel, NoCacheModel +from cachebot.test_models import FirstModel, NoCacheModel from cachebot.tests.base_tests import BaseTestCase class BlacklistCacheTests(BaseTestCase): diff --git a/cachebot/tests/reverse_lookup_tests.py b/cachebot/tests/reverse_lookup_tests.py index 1b90c20..cb1cd24 100644 --- a/cachebot/tests/reverse_lookup_tests.py +++ b/cachebot/tests/reverse_lookup_tests.py @@ -1,4 +1,4 @@ -from cachebot.models import FirstModel +from cachebot.test_models import FirstModel from cachebot.tests.base_tests import RelatedCacheTests, ExtraRelatedCacheTests class ReverseRelatedCacheTests(RelatedCacheTests): diff --git a/cachebot/tests/values_tests.py b/cachebot/tests/values_tests.py index 295065c..6f79e64 100644 --- a/cachebot/tests/values_tests.py +++ b/cachebot/tests/values_tests.py @@ -1,4 +1,4 @@ -from cachebot.models import ThirdModel +from cachebot.test_models import ThirdModel from cachebot.tests.base_tests import BasicCacheTests, RelatedCacheTests, ExtraRelatedCacheTests class ValuesBasicCacheTests1(BasicCacheTests):