mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Renamed some tests and removed references to modeltests/regressiontests.
This commit is contained in:
parent
737a5d71f0
commit
33836cf88d
224 changed files with 384 additions and 376 deletions
|
@ -2,5 +2,5 @@ from django.test import TestCase
|
|||
|
||||
|
||||
class NoModelTests(TestCase):
|
||||
""" A placeholder test case. See modeltests.empty.tests for more info. """
|
||||
""" A placeholder test case. See empty.tests for more info. """
|
||||
pass
|
||||
|
|
|
@ -31,7 +31,7 @@ class NoModelTests(TestCase):
|
|||
|
||||
It seemed like an appropriate home for it.
|
||||
"""
|
||||
@override_settings(INSTALLED_APPS=("modeltests.empty.no_models",))
|
||||
@override_settings(INSTALLED_APPS=("empty.no_models",))
|
||||
def test_no_models(self):
|
||||
with six.assertRaisesRegex(self, ImproperlyConfigured,
|
||||
'App with label no_models is missing a models.py module.'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue