Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() ↵ | Mariusz Felisiak | 2022-10-07 | 1 | -1/+1 |
| | | | | | where appropriate. Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -15/+22 |
| | |||||
* | Refs #32508 -- Raised Type/ValueError instead of using "assert" in ↵ | Daniyal | 2021-07-15 | 1 | -2/+3 |
| | | | | | | django.db.models. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Removed unused __str__() methods in tests models. | Author: Mads Jensen | 2020-04-15 | 1 | -6/+0 |
| | | | | | Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> | ||||
* | Fixed field default in dates tests. | Mariusz Felisiak | 2020-01-18 | 1 | -1/+1 |
| | |||||
* | Refs #26022 -- Used context manager version of assertRaisesMessage in tests. | Jon Dufresne | 2019-04-29 | 1 | -5/+3 |
| | | | | Follow up to 253adc2b8a52982139d40c4f55b3fd446e1cb8f3. | ||||
* | Fixed #28650 -- Added TruncWeek database function. | Sigurd Ljødal | 2018-01-27 | 1 | -1/+8 |
| | |||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -3/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 2 | -4/+0 |
| | |||||
* | Made FieldError/FieldDoesNotExist messages uniform across Python versions. | François Freitag | 2016-09-17 | 1 | -4/+2 |
| | | | Removed possible u'' prefixes on Python 2. | ||||
* | Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵ | Mads Jensen | 2016-09-13 | 1 | -13/+8 |
| | | | | assertSequenceEqual(). | ||||
* | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | 2016-01-29 | 1 | -17/+4 |
| | | | | appropriate. | ||||
* | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | 2016-01-29 | 1 | -4/+2 |
| | |||||
* | Fixed #25470 -- Avoided unnecessary, expensive DATETIME typecast on MySQL. | Mariusz Felisiak | 2015-10-21 | 2 | -2/+34 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -1/+1 |
| | | | | ForeignKey/OneToOneField | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -1/+1 |
| | |||||
* | Fixed #23867 -- removed DateQuerySet hacks | Anssi Kääriäinen | 2014-11-26 | 1 | -3/+4 |
| | | | | | | The .dates() queries were implemented by using custom Query, QuerySet, and Compiler classes. Instead implement them by using expressions and database converters APIs. | ||||
* | Split tests.basic.ModelTests in several tests; refs #18586. | zsoldosp | 2014-06-25 | 1 | -0/+39 |
| | |||||
* | PEP8 cleanup | Jason Myers | 2013-11-02 | 1 | -0/+2 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -1/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+111 |