diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 16:22:07 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 17:29:04 +0100 |
| commit | 553500133cc4426f20407391f3493716357db45f (patch) | |
| tree | ef935fa7d9be8bf6ab9efd4d7321a0d6a3a69e15 /tests | |
| parent | d0eeddd6fcd93b23bb632ad3ea95ae3f871907e3 (diff) | |
Removed an obsolete unicity check.
It doesn't account for app configs.
Refs #21679.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/settings_tests/tests.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/settings_tests/tests.py b/tests/settings_tests/tests.py index 2225862f7f..9b2f5c79fa 100644 --- a/tests/settings_tests/tests.py +++ b/tests/settings_tests/tests.py @@ -292,27 +292,6 @@ class TestComplexSettingOverride(TestCase): 'Overriding setting TEST_WARN can lead to unexpected behaviour.') -class UniqueSettingsTests(TestCase): - """ - Tests for the INSTALLED_APPS setting. - """ - settings_module = settings - - def setUp(self): - self._installed_apps = self.settings_module.INSTALLED_APPS - - def tearDown(self): - self.settings_module.INSTALLED_APPS = self._installed_apps - - def test_unique(self): - """ - An ImproperlyConfigured exception is raised if the INSTALLED_APPS contains - any duplicate strings. - """ - with self.assertRaises(ImproperlyConfigured): - self.settings_module.INSTALLED_APPS = ("myApp1", "myApp1", "myApp2", "myApp3") - - class TrailingSlashURLTests(TestCase): """ Tests for the MEDIA_URL and STATIC_URL settings. |
