Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/fixtures_regress
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25508 -- Modified QuerySet.__repr__() to ↵Tim Graham2015-10-061-5/+6
| | | | disambiguate it from a list.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-13/+45
|
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-14/+14
| | | | on_delete for ForeignKey/OneToOneField
* Refs #24324 -- Skipped fixtures_regress tests that fail ↵Tim Graham2015-02-181-0/+14
| | | | on Python 2 on a non-ASCII path.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-16/+17
|
* Removed unneeded null param to ManyToManyFieldClaude Paroz2014-12-231-1/+1
|
* Fixed #17946 -- Fixed deserialization of ↵Claude Paroz2014-12-233-0/+15
| | | | | | | self-referencing M2M fields Thanks Philip Mountifield for the report and excellent analysis, and Simon Charette for the review.
* Fixed a test to correctly calculate a fixture's relative ↵Julien Phalip2014-11-171-1/+1
| | | | path.
* Fixed #23468 -- Added checks for duplicate fixtures ↵Konrad Świat2014-10-311-0/+43
| | | | | | | | | directories in loaddata. If settings.FIXTURE_DIRS contains duplicates or a default fixture directory (app_name/fixtures), ImproperlyConfigured is raised. Thanks to Berker Peksag and Tim Graham for review.
* Allowed test from refs #23612 to be run from a directory ↵Tim Graham2014-10-221-1/+7
| | | | other than tests.
* Made testing of stdout and stderr more consistent.Loic Bistuer2014-10-221-15/+15
| | | | Refs #23663.
* Fixed #23660 -- Moved sort_dependencies to core.Collin Anderson2014-10-151-23/+22
|
* Fixed #23651 -- Isolated non-existent fixture testsClaude Paroz2014-10-151-13/+0
| | | | | | | | Previous versions of the tests were buggy, as initial_data.json did exist and the test wasn't failing. It was finally failing on Python 3.4.2. Thanks Raphaël Hertzog for the report (and Debian bug #765117 contributors).
* Fixed #23612 -- Normalized fixuture paths to allow ↵Brandon Taylor2014-10-091-0/+12
| | | | referencing relative paths on Windows.
* Fixed #22653 -- Added some database feature flags to tests.Tim Graham2014-06-111-0/+2
| | | | Thanks Rahul Priyadarshi.
* Merge pull request #2679 from ramiro/t22421Ramiro Morales2014-05-213-1/+41
|\ | | | | Fixed #22421 -- Regression in fixtures loading.
| * Fixed #22421 -- Regression in fixtures loading.Ramiro Morales2014-05-173-1/+41
| | | | | | | | | | | | | | | | | | | | 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.
* | Fixed #21799 - Modified loaddata --ignorenonexistent to ↵Esau Rodriguez2014-05-181-0/+11
|/ | | | ignore models.
* Fixed flake8 error.Tim Graham2014-05-121-6/+4
|
* Fixed some test models' natural_key() methods.Ramiro Morales2014-05-121-8/+8
|
* Unneeded, Python 3 incompatible code in a75324c6 tests.Ramiro Morales2014-05-121-3/+3
|
* Fixed #14226 -- Dependency calculation for complex M2M ↵Rainer Koirikivi2014-05-122-1/+218
| | | | | | | | | | relations. `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.
* Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of ↵chriscauley2014-04-171-1/+1
| | | | | | docs and tests. Thanks tomwys for the suggestion.
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-3/+3
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* Fixed #21551 -- Reenabled loading fixtures from subdirectoryClaude Paroz2013-12-072-7/+19
| | | | | | This was a regression in Django 1.6 that was only partially restored in 839940f27f. Thanks Jonas Haag for the report.
* Fixed #21457 -- Allowed fixture file name to contain dotsClaude Paroz2013-11-182-0/+17
| | | | Thanks Keryn Knight for the report.
* PEP8 cleanupJason Myers2013-11-031-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-2/+2
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-1/+0
|
* Fixed #13252 -- Added ability to serialize with natural ↵Tai Lee2013-10-111-2/+3
| | | | | | | | | | | | | | primary keys. 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.
* Whitespace cleanup.Tim Graham2013-10-103-16/+16
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed #20933 -- Allowed loaddata to load fixtures from ↵Florian Apolloner2013-08-202-7/+16
| | | | relative paths.
* Fixed invalid testing fixtureAnssi Kääriäinen2013-08-201-0/+6
|
* Fixed #20820 -- Model inheritance + m2m fixture loading ↵Anssi Kääriäinen2013-08-203-0/+26
| | | | | | regression Tests by Tim Graham, report from jeroen.pulles@redslider.net.
* Removed most of absolute_import importsClaude Paroz2013-07-292-2/+2
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed #18213 -- Allowed empty fixtures (emit a warning ↵Przemek Lewandowski2013-07-291-13/+26
| | | | rather than raising an exception).
* Avoided transaction.set_autocommit in tests.Aymeric Augustin2013-07-091-16/+9
| | | | | | 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.
* Stopped calling loaddata with commit=False.Aymeric Augustin2013-06-301-32/+0
| | | | | This was a stealth option only used by the tests, and it isn't useful any more since `atomic` provides nested transactions.
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+6
| | | | Fixed #20483.
* Fixed #20485 -- Refactored loaddata for speed.Aymeric Augustin2013-06-021-1/+1
| | | | Thanks Anssi for reporting this performance bottleneck.
* fix warnings imports in fixtures testsSenko Rasic2013-05-191-1/+1
|
* Fixed #18990 -- Loaddata now complains if fixture ↵Senko Rasic2013-05-191-1/+2
| | | | | | | | | | | | | | doesn't exist 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.
* Fixed #18990: Loaddata now complains if fixture doesn't ↵Senko Rasic2013-05-191-7/+8
| | | | | | | | | exist 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.
* Fixed #19998 -- Fixed --ignorenonexistent support for ↵Christoph Sieghart2013-03-302-0/+24
| | | | XML based fixtures.
* Improved the API of set_autocommit.Aymeric Augustin2013-03-111-2/+2
|
* Added some assertions to enforce the atomicity of atomic.Aymeric Augustin2013-03-111-2/+5
|
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-2623-0/+1253