Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed some typos in comments, docstrings, and tests. | Liyang Zhang | 2023-03-20 | 1 | -1/+1 |
| | |||||
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 1 | -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ärtner | 2022-10-08 | 1 | -2/+2 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Fixed #33949 -- Fixed fixture dirs duplicates with Path instances. | Claude Paroz | 2022-08-23 | 1 | -0/+14 |
| | |||||
* | Fixed #33582 -- Fixed deserializing natural keys with foreing key ↵ | François Granade | 2022-03-18 | 3 | -0/+55 |
| | | | | dependencies in a multiple database setup. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -13/+26 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -273/+325 |
| | |||||
* | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | 2020-11-06 | 1 | -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 Felisiak | 2020-04-07 | 1 | -9/+9 |
| | |||||
* | Refs #29983 -- Added test for FIXTURES_DIRS pathlib support. | Jon Dufresne | 2019-11-06 | 1 | -0/+6 |
| | |||||
* | Followed style guide for model attribute ordering. | Matt Wiens | 2018-12-27 | 1 | -2/+5 |
| | |||||
* | Fixed loaddata error message when uncompressed fixture has a dot in its name. | Sergey Fedoseev | 2018-09-26 | 2 | -3/+3 |
| | |||||
* | Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). | Morgan Aubert | 2018-05-09 | 1 | -30/+8 |
| | |||||
* | Fixed spelling of "nonexistent". | Tim Graham | 2017-02-03 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | 2017-01-20 | 1 | -3/+2 |
| | | | These functions do nothing on Python 3. | ||||
* | Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2. | Tim Graham | 2017-01-20 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -1/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -2/+1 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | 2017-01-18 | 1 | -18/+3 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -10/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 2 | -5/+0 |
| | |||||
* | Made contenttypes and auth apps unavailable when not necessary in tests. | Simon Charette | 2017-01-13 | 1 | -5/+1 |
| | |||||
* | Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. | Tim Graham | 2016-12-07 | 1 | -1/+1 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -12/+8 |
| | |||||
* | Replaced use of TestCase.fail() with assertRaises(). | Tim Graham | 2016-06-28 | 1 | -21/+6 |
| | | | Also removed try/except/fail antipattern that hides exceptions. | ||||
* | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | 2016-06-16 | 1 | -3/+3 |
| | |||||
* | Fixed E128 flake8 warnings in tests/. | Tim Graham | 2016-04-08 | 1 | -4/+2 |
| | |||||
* | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | 2016-01-29 | 1 | -8/+5 |
| | | | | appropriate. | ||||
* | Refs #26022 -- Used context manager version of assertRaisesMessage in tests. | Hasan | 2016-01-29 | 1 | -40/+26 |
| | |||||
* | Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. | Tim Graham | 2015-10-06 | 1 | -5/+6 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -13/+45 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -14/+14 |
| | | | | ForeignKey/OneToOneField | ||||
* | Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a ↵ | Tim Graham | 2015-02-18 | 1 | -0/+14 |
| | | | | non-ASCII path. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -16/+17 |
| | |||||
* | Removed unneeded null param to ManyToManyField | Claude Paroz | 2014-12-23 | 1 | -1/+1 |
| | |||||
* | Fixed #17946 -- Fixed deserialization of self-referencing M2M fields | Claude Paroz | 2014-12-23 | 3 | -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 Phalip | 2014-11-17 | 1 | -1/+1 |
| | |||||
* | Fixed #23468 -- Added checks for duplicate fixtures directories in loaddata. | Konrad Świat | 2014-10-31 | 1 | -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 Graham | 2014-10-22 | 1 | -1/+7 |
| | |||||
* | Made testing of stdout and stderr more consistent. | Loic Bistuer | 2014-10-22 | 1 | -15/+15 |
| | | | | Refs #23663. | ||||
* | Fixed #23660 -- Moved sort_dependencies to core. | Collin Anderson | 2014-10-16 | 1 | -23/+22 |
| | |||||
* | Fixed #23651 -- Isolated non-existent fixture tests | Claude Paroz | 2014-10-15 | 1 | -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 Taylor | 2014-10-09 | 1 | -0/+12 |
| | | | | paths on Windows. | ||||
* | Fixed #22653 -- Added some database feature flags to tests. | Tim Graham | 2014-06-11 | 1 | -0/+2 |
| | | | | Thanks Rahul Priyadarshi. | ||||
* | Merge pull request #2679 from ramiro/t22421 | Ramiro Morales | 2014-05-21 | 3 | -1/+41 |
|\ | | | | | Fixed #22421 -- Regression in fixtures loading. | ||||
| * | Fixed #22421 -- Regression in fixtures loading. | Ramiro Morales | 2014-05-17 | 3 | -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 Rodriguez | 2014-05-18 | 1 | -0/+11 |
|/ | |||||
* | Fixed flake8 error. | Tim Graham | 2014-05-12 | 1 | -6/+4 |
| | |||||
* | Fixed some test models' natural_key() methods. | Ramiro Morales | 2014-05-11 | 1 | -8/+8 |
| | |||||
* | Unneeded, Python 3 incompatible code in a75324c6 tests. | Ramiro Morales | 2014-05-11 | 1 | -3/+3 |
| |