summaryrefslogtreecommitdiff
path: root/tests/fixtures_regress
AgeCommit message (Collapse)Author
2026-02-10Added various missing test skips observed on MongoDB.Tim Graham
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-03-11Fixed #36177 -- Added a trailing newline to JSON serializer. (#19232)Tom Carrick
2025-02-11Refs #23919 -- Removed Python 2 workaround in fixtures_regress.Tim Graham
This reverts commit 7e19641b0359c23105cc27eebd9ccb1963546f2a.
2024-09-19Refs #29522 -- Fixed serializers/fixtures test crash if PyYAML isn't installed.Mariusz Felisiak
2024-09-12Refs #29522 -- Improved test coverage of deserializers.Amir Karimi
2023-03-20Fixed some typos in comments, docstrings, and tests.Liyang Zhang
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner
assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-08-23Fixed #33949 -- Fixed fixture dirs duplicates with Path instances.Claude Paroz
2022-03-18Fixed #33582 -- Fixed deserializing natural keys with foreing key ↵François Granade
dependencies in a multiple database setup.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-04-07Enforced uniqueness of natural keys used in tests.Mariusz Felisiak
2019-11-06Refs #29983 -- Added test for FIXTURES_DIRS pathlib support.Jon Dufresne
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-09-26Fixed loaddata error message when uncompressed fixture has a dot in its name.Sergey Fedoseev
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-20Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2.Tim Graham
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-13Made contenttypes and auth apps unavailable when not necessary in tests.Simon Charette
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-29Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵Hasan
appropriate.
2016-01-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan
2015-10-06Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list.Tim Graham
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-02-18Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a ↵Tim Graham
non-ASCII path.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-23Removed unneeded null param to ManyToManyFieldClaude Paroz
2014-12-23Fixed #17946 -- Fixed deserialization of self-referencing M2M fieldsClaude Paroz
Thanks Philip Mountifield for the report and excellent analysis, and Simon Charette for the review.
2014-11-17Fixed a test to correctly calculate a fixture's relative path.Julien Phalip
2014-10-31Fixed #23468 -- Added checks for duplicate fixtures directories in loaddata.Konrad Świat
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.
2014-10-22Allowed test from refs #23612 to be run from a directory other than tests.Tim Graham
2014-10-22Made testing of stdout and stderr more consistent.Loic Bistuer
Refs #23663.
2014-10-16Fixed #23660 -- Moved sort_dependencies to core.Collin Anderson
2014-10-15Fixed #23651 -- Isolated non-existent fixture testsClaude Paroz
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).
2014-10-09Fixed #23612 -- Normalized fixuture paths to allow referencing relative ↵Brandon Taylor
paths on Windows.