summaryrefslogtreecommitdiff
path: root/tests/settings_tests
AgeCommit message (Collapse)Author
2014-12-05Fixed #23957 -- Started deprecation toward requiring session verification.Tim Graham
Thanks Carl Meyer for review.
2014-11-17Adjusted tests for previous commit.Aymeric Augustin
The test was testing a use case that doesn't happen in real world projects: developers don't assign settings at run time (and Django explicitly doesn't support it).
2014-11-03Fixed #21281 -- Made override_settings act at class level when used as a ↵Thomas Chaumeny
TestCase decorator.
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-09-09Avoid the word "stupid".Aymeric Augustin
There's always a better word.
2014-09-05Revert "Fixed #23384 -- Allowed overriding part of a dictionary-type setting"Claude Paroz
This reverts commit 66757fee7e921ad4c35e0b3f80c25e026100b31c. Discussions have led to think that this functionality does not bring significant benefits to justify the added complexity. Read also discussions on ticket #22734.
2014-08-30Fixed #23384 -- Allowed overriding part of a dictionary-type settingClaude Paroz
This change is needed for upcoming changes where settings might be grouped in a parent dictionary. Thanks Tim Graham for the review.
2014-06-11Removed an unused local variable, fixes a flake8 errorAlex Gaynor
2014-06-10Fixed #22780 -- Checked that LOCALE_PATHS is really a tupleTim Schaffer
2014-04-12Also allowed a non-overridden setting to be deletedClaude Paroz
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report.
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-01-20Removed some stray newlines which caused flake8 issuesAlex Gaynor
2014-01-20Fixes #21833 -- Fix UserSettingsHolder.is_overridden() and add tests.Carl Meyer
2013-12-31Removed an obsolete unicity check.Aymeric Augustin
It doesn't account for app configs. Refs #21679.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-23Added modify_settings to alter settings containing lists of values.Aymeric Augustin
2013-12-22Fixed a flaky test.Aymeric Augustin
2013-12-20Set stacklevel for the override_settings warning.Aymeric Augustin
Refs #19031.
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-15Fixed #21263 -- Fixed issue with override_settings in inherited classesClaude Paroz
When both parent and child classes are decorated with override_settings, child class settings should take precedence. Thanks Sephi for the report and Marc Tamlyn for the review.
2013-08-09Fixed test failures on Python 3 - refs #12288Tim Graham
2013-08-09Fixed #12288 -- Added unique validation for INSTALLED_APPSSusanTan
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-12Fixed #19031 -- Added a warning when using override_settings with 'DATABASES'Joeri Bekker
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-21Fixed #20290 -- Allow override_settings to be nestedOliver Beattie
Refactored override_settings to store the underlying settings._wrapped value seen at runtime, not instantiation time.
2013-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner