Renamed some tests and removed references to modeltests/regressiontests.

This commit is contained in:
Florian Apolloner 2013-02-26 13:19:18 +01:00
parent 737a5d71f0
commit 33836cf88d
224 changed files with 384 additions and 376 deletions

View file

@ -2,7 +2,7 @@ from __future__ import absolute_import
from django.test import TestCase
from ..model_inheritance.models import Title
from model_inheritance.models import Title
class InheritanceSameModelNameTests(TestCase):
@ -14,7 +14,7 @@ class InheritanceSameModelNameTests(TestCase):
self.title = Title.objects.create(title='Lorem Ipsum')
def test_inheritance_related_name(self):
from modeltests.model_inheritance.models import Copy
from model_inheritance.models import Copy
self.assertEqual(
self.title.attached_model_inheritance_copy_set.create(
content='Save $ on V1agr@',
@ -23,7 +23,7 @@ class InheritanceSameModelNameTests(TestCase):
), Copy.objects.get(content='Save $ on V1agr@'))
def test_inheritance_with_same_model_name(self):
from modeltests.model_inheritance_same_model_name.models import Copy
from model_inheritance_same_model_name.models import Copy
self.assertEqual(
self.title.attached_model_inheritance_same_model_name_copy_set.create(
content='The Web framework for perfectionists with deadlines.',