diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2013-02-26 13:19:18 +0100 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-02-26 14:36:57 +0100 |
| commit | 33836cf88dd08ebd66d19ad7f732b12f089abd27 (patch) | |
| tree | 6a812006f1f3a1f3dc7e51e4d0417ca8aadc86ef /tests/inline_formsets | |
| parent | 737a5d71f084ac804519c0bac33e2498d712bbb7 (diff) | |
Renamed some tests and removed references to modeltests/regressiontests.
Diffstat (limited to 'tests/inline_formsets')
| -rw-r--r-- | tests/inline_formsets/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/inline_formsets/tests.py b/tests/inline_formsets/tests.py index e979fb4337..df682d34ef 100644 --- a/tests/inline_formsets/tests.py +++ b/tests/inline_formsets/tests.py @@ -124,7 +124,7 @@ class InlineFormsetFactoryTest(TestCase): to use for the inline formset, we should get an exception. """ six.assertRaisesRegex(self, Exception, - "<class 'regressiontests.inline_formsets.models.Child'> has more than 1 ForeignKey to <class 'regressiontests.inline_formsets.models.Parent'>", + "<class 'inline_formsets.models.Child'> has more than 1 ForeignKey to <class 'inline_formsets.models.Parent'>", inlineformset_factory, Parent, Child ) @@ -134,7 +134,7 @@ class InlineFormsetFactoryTest(TestCase): to the parent model, we should get an exception. """ self.assertRaises(Exception, - "fk_name 'school' is not a ForeignKey to <class 'regressiontests.inline_formsets.models.Parent'>", + "fk_name 'school' is not a ForeignKey to <class 'inline_formsets.models.Parent'>", inlineformset_factory, Parent, Child, fk_name='school' ) @@ -144,7 +144,7 @@ class InlineFormsetFactoryTest(TestCase): exception. """ six.assertRaisesRegex(self, Exception, - "<class 'regressiontests.inline_formsets.models.Child'> has no field named 'test'", + "<class 'inline_formsets.models.Child'> has no field named 'test'", inlineformset_factory, Parent, Child, fk_name='test' ) |
