summaryrefslogtreecommitdiff
path: root/tests/fixtures_regress
Commit message (Collapse)AuthorAgeFilesLines
* Fixed some typos in comments, docstrings, and tests.Liyang Zhang2023-03-201-1/+1
|
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
| | | | | | | | 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
* Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner2022-10-081-2/+2
| | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
* Fixed #33949 -- Fixed fixture dirs duplicates with Path instances.Claude Paroz2022-08-231-0/+14
|
* Fixed #33582 -- Fixed deserializing natural keys with foreing key ↵François Granade2022-03-183-0/+55
| | | | dependencies in a multiple database setup.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-13/+26
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-273/+325
|
* Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani2020-11-061-5/+3
| | | | | | | | 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>
* Enforced uniqueness of natural keys used in tests.Mariusz Felisiak2020-04-071-9/+9
|
* Refs #29983 -- Added test for FIXTURES_DIRS pathlib support.Jon Dufresne2019-11-061-0/+6
|
* Followed style guide for model attribute ordering.Matt Wiens2018-12-271-2/+5
|
* Fixed loaddata error message when uncompressed fixture has a dot in its name.Sergey Fedoseev2018-09-262-3/+3
|
* Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert2018-05-091-30/+8
|
* Fixed spelling of "nonexistent".Tim Graham2017-02-031-1/+1
|
* Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham2017-01-201-3/+2
| | | These functions do nothing on Python 3.
* Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2.Tim Graham2017-01-201-1/+1
|
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-1/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-2/+1
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-18/+3
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-10/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-5/+0
|
* Made contenttypes and auth apps unavailable when not necessary in tests.Simon Charette2017-01-131-5/+1
|
* Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham2016-12-071-1/+1
|
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-12/+8
|
* Replaced use of TestCase.fail() with assertRaises().Tim Graham2016-06-281-21/+6
| | | Also removed try/except/fail antipattern that hides exceptions.
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-3/+3
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-4/+2
|
* Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵Hasan2016-01-291-8/+5
| | | | appropriate.
* Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan2016-01-291-40/+26
|
* Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list.Tim Graham2015-10-061-5/+6
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-13/+45
|
* Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella2015-07-271-14/+14
| | | | ForeignKey/OneToOneField
* Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a ↵Tim Graham2015-02-181-0/+14
| | | | 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 self-referencing M2M fieldsClaude Paroz2014-12-233-0/+15
| | | | | 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 path.Julien Phalip2014-11-171-1/+1
|
* Fixed #23468 -- Added checks for duplicate fixtures directories in loaddata.Konrad Świat2014-10-311-0/+43
| | | | | | | 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 other than tests.Tim Graham2014-10-221-1/+7
|
* 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-161-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 referencing relative ↵Brandon Taylor2014-10-091-0/+12
| | | | 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 ignore models.Esau Rodriguez2014-05-181-0/+11
|/
* Fixed flake8 error.Tim Graham2014-05-121-6/+4
|
* Fixed some test models' natural_key() methods.Ramiro Morales2014-05-111-8/+8
|
* Unneeded, Python 3 incompatible code in a75324c6 tests.Ramiro Morales2014-05-111-3/+3
|