summaryrefslogtreecommitdiff
path: root/tests/fixtures_regress
AgeCommit message (Collapse)Author
2014-06-11Fixed #22653 -- Added some database feature flags to tests.Tim Graham
Thanks Rahul Priyadarshi.
2014-05-21Merge pull request #2679 from ramiro/t22421Ramiro Morales
Fixed #22421 -- Regression in fixtures loading.
2014-05-18Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.Esau Rodriguez
2014-05-17Fixed #22421 -- Regression in fixtures loading.Ramiro Morales
Loading fixtures were failing since the refactoring in 244e2b71f5 for inheritance setups where the chain contains abstract models and the root ancestor contains a M2M relation. Thanks Stanislas Guerra for the report. Refs #20946.
2014-05-12Fixed flake8 error.Tim Graham
2014-05-11Fixed some test models' natural_key() methods.Ramiro Morales
2014-05-11Unneeded, Python 3 incompatible code in a75324c6 tests.Ramiro Morales
2014-05-11Fixed #14226 -- Dependency calculation for complex M2M relations.Rainer Koirikivi
`sort_dependencies` incorrectly interpreted 'complex' M2M relations (with explicit through models) as dependencies for a model. This caused circular complex M2M relations to be unserializable by dumpdata. Thanks to aneil for the report and outofculture for initial tests.
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-07Fixed #21551 -- Reenabled loading fixtures from subdirectoryClaude Paroz
This was a regression in Django 1.6 that was only partially restored in 839940f27f. Thanks Jonas Haag for the report.
2013-11-18Fixed #21457 -- Allowed fixture file name to contain dotsClaude Paroz
Thanks Keryn Knight for the report.
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-11Fixed #13252 -- Added ability to serialize with natural primary keys.Tai Lee
Added ``--natural-foreign`` and ``--natural-primary`` options and deprecated the ``--natural`` option to the ``dumpdata`` management command. Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys`` arguments and deprecated the ``use_natural_keys`` argument to ``django.core.serializers.Serializer.serialize()``. Thanks SmileyChris for the suggestion.
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-08-20Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.Florian Apolloner
2013-08-20Fixed invalid testing fixtureAnssi Kääriäinen
2013-08-20Fixed #20820 -- Model inheritance + m2m fixture loading regressionAnssi Kääriäinen
Tests by Tim Graham, report from jeroen.pulles@redslider.net.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-29Fixed #18213 -- Allowed empty fixtures (emit a warning rather than raising ↵Przemek Lewandowski
an exception).
2013-07-09Avoided transaction.set_autocommit in tests.Aymeric Augustin
It doesn't work as one might expect on a certain database backend where autocommits_when_autocommit_is_off = True. That backend happens to be popular for running tests.
2013-06-30Stopped calling loaddata with commit=False.Aymeric Augustin
This was a stealth option only used by the tests, and it isn't useful any more since `atomic` provides nested transactions.
2013-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
2013-06-02Fixed #20485 -- Refactored loaddata for speed.Aymeric Augustin
Thanks Anssi for reporting this performance bottleneck.
2013-05-19fix warnings imports in fixtures testsSenko Rasic
2013-05-19Fixed #18990 -- Loaddata now complains if fixture doesn't existSenko Rasic
If the fixture doesn't exist, loaddata will output a warning. The fixture named "initial_data" is exceptional though; if it doesn't exist, the warning is not emitted. This allows syncdb and flush management commands to attempt to load it without causing spurious warnings. Thanks to Derega, ptone, dirigeant and d1ffuz0r for contributions to the ticket.
2013-05-19Fixed #18990: Loaddata now complains if fixture doesn't existSenko Rasic
The fixture named "initial_data" is exceptional though; if it doesn't exist, the error is not raised. This allows syncdb and flush management commands to attempt to load it without causing an error if it doesn't exist.
2013-03-30Fixed #19998 -- Fixed --ignorenonexistent support for XML based fixtures.Christoph Sieghart
2013-03-11Improved the API of set_autocommit.Aymeric Augustin
2013-03-11Added some assertions to enforce the atomicity of atomic.Aymeric Augustin
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner