Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/delete_regress
Commit message (Collapse)AuthorAgeFilesLines
* Changed database connection duplication technique.Aymeric Augustin2015-09-091-5/+2
| | | | | | This new technique is more straightforward and compatible with test parallelization, where the effective database connection settings no longer match settings.DATABASES.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-8/+0
|
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-15/+15
| | | | on_delete for ForeignKey/OneToOneField
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-6/+8
|
* Fixed #22308 -- Regression from 0f956085.Aymeric Augustin2014-03-221-17/+15
| | | | Rewrote the test for #9479 according to the original ticket.
* Removed legacy transaction management per the ↵Aymeric Augustin2014-03-211-17/+11
| | | | deprecation timeline.
* Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette2014-01-261-3/+5
| | | | | | | It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
* PEP8 cleanupJason Myers2013-11-032-1/+30
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-4/+0
|
* Removed unneeded imports in tests's __init__.py and ↵Florian Apolloner2013-09-091-1/+0
| | | | unified them.
* Removed some more unused local varsAlex Gaynor2013-09-081-7/+7
|
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+6
| | | | Fixed #20483.
* Made transaction.managed a no-op and deprecated it.Aymeric Augustin2013-03-111-3/+1
| | | | | | | | | | | | | | enter_transaction_management() was nearly always followed by managed(). In three places it wasn't, but they will all be refactored eventually. The "forced" keyword argument avoids introducing behavior changes until then. This is mostly backwards-compatible, except, of course, for managed itself. There's a minor difference in _enter_transaction_management: the top self.transaction_state now contains the new 'managed' state rather than the previous one. Django doesn't access self.transaction_state in _enter_transaction_management.
* Fixed #19861 -- Transaction ._dirty flag improvementAnssi Kääriäinen2013-02-271-1/+3
| | | | | | | | | | | | | | | | | | There were a couple of errors in ._dirty flag handling: * It started as None, but was never reset to None. * The _dirty flag was sometimes used to indicate if the connection was inside transaction management, but this was not done consistently. This also meant the flag had three separate values. * The None value had a special meaning, causing for example inability to commit() on new connection unless enter/leave tx management was done. * The _dirty was tracking "connection in transaction" state, but only in managed transactions. * Some tests never reset the transaction state of the used connection. * And some additional less important changes. This commit has some potential for regressions, but as the above list shows, the current situation isn't perfect either.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+472