Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-34/+239
|
* Refs #22258 -- Fixed an unclosed temporary file in ↵Tim Graham2015-09-091-16/+17
| | | | | | | fixtures test. This prevented the temporary directory from being removed on Windows.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-3/+3
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #22258 -- Added progress status for dumpdata when ↵Claude Paroz2015-07-241-0/+26
| | | | | | outputting to file Thanks Gwildor Sok for the report and Tim Graham for the review.
* Refs #24978 -- Amended test filename to avoid checkout ↵Gagaro2015-06-202-1/+1
| | | | warnings on Windows.
* Refs #24978 -- Skipped an unsupported test on Windows.Tim Graham2015-06-171-0/+3
|
* Fixed #24978 -- Escaped special characters in loaddata ↵Moritz Sichert2015-06-142-0/+14
| | | | fixture paths
* Fixed #24776 -- Improved apps.get_app_config() error ↵Peter Inglesby2015-05-221-1/+1
| | | | message on fully-qualified package names.
* Fixed fixtures tests failure on Python 2 with non-ASCII ↵Tim Graham2015-04-161-1/+1
| | | | path.
* Fixed #21652 -- Added notification when processing ↵Yitzhak Clark2015-04-161-0/+10
| | | | | | | objects in loaddata Added a running count of the objects processed by loaddata when verbosity >= 3.
* Prevented some tests from writing in the CWD.Aymeric Augustin2015-03-071-0/+3
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+5
|
* Removed support for initial_data fixtures per ↵Tim Graham2015-01-172-39/+13
| | | | deprecation timeline.
* Fixed #12663 -- Formalized the Model._meta API for ↵Daniel Pyrathon2015-01-071-0/+2
| | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-9/+6
|
* Fixed #23651 -- Isolated non-existent fixture testsClaude Paroz2014-10-151-12/+30
| | | | | | | | 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).
* Removed numbering from the models.py header of some test ↵Loic Bistuer2014-09-241-1/+1
| | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era.
* Fixed #23099 -- Removed usage of deprecated initial data ↵Tim Graham2014-08-081-0/+1
| | | | | | in Django's test suite. Thanks Claude Paroz for assistance with debugging the tests.
* Ensure that a file is closed in the testsAlex Gaynor2014-03-301-1/+2
|
* Fixed #22257 -- Added file output option to dumpdata ↵Anubhav Joshi2014-03-251-2/+13
| | | | command.
* Fixed #22237 -- Removed some warnings in the test suiteClaude Paroz2014-03-091-4/+6
| | | | Thanks Aymeric Augustin for the report.
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Fixed #22025 -- Listing app followed by app.Model in ↵Eli Bendersky2014-02-121-0/+4
| | | | | | | | | | | dumpdata command When invoked as follows: $ python manage.py dumpdata blogapp blogapp.Tag Django would throw a TypeError. This commit fixes the problem and provides a test.
* Fixed #21969: Fix behaviour of initial_data with ↵Andrew Godwin2014-02-091-0/+11
| | | | migrated apps
* Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette2014-01-261-3/+2
| | | | | | | 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-031-0/+8
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
|
* Fixed #13252 -- Added ability to serialize with natural ↵Tai Lee2013-10-111-7/+12
| | | | | | | | | | | | | | 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-101-7/+7
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed #21089 -- Allow TransactionTestcase subclasses to ↵Baptiste Mispelon2013-09-111-0/+11
| | | | | | define an empty list of fixtures. Thanks to lgs for the report and initial patch.
* Removed unneeded imports in tests's __init__.py and ↵Florian Apolloner2013-09-091-2/+0
| | | | unified them.
* Updated syncdb -> migrate in tests.Tim Graham2013-09-031-1/+1
|
* 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.
* Stopped calling loaddata with commit=False.Aymeric Augustin2013-06-301-29/+27
| | | | | 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/+7
| | | | Fixed #20483.
* Fixed #20509 - Proper parsing for dumpdata --pks option.Tim Graham2013-05-301-1/+1
| | | | Thanks weipin for the report and Baptiste Mispelon for the patch.
* Fixed fixtures testing failureAnssi Kääriäinen2013-05-191-0/+1
| | | | | | The failure was caused by generating the same warning from two tests. The second time the same warning was raised it was swallowed by the "once" simplefilter of warnings.
* Fixed #16330 -- added --pks option in dumpdata commandPreston Holmes2013-05-191-2/+42
| | | | | Thanks to guettli for the initial ticket and patch, with additional work from mehmetakyuz and Kevin Brolly.
* Fixed #18990 -- Loaddata now complains if fixture ↵Senko Rasic2013-05-191-6/+12
| | | | | | | | | | | | | | 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-5/+12
| | | | | | | | | 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 #15363 -- Renamed and normalized to `get_queryset` ↵Loic Bistuer2013-03-081-2/+2
| | | | the methods that return a QuerySet.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-2619-0/+703