django/tests/db_functions
Nick Pope 7552de7866 Used more specific unittest assertions in tests.
* assertIsNone()/assertIsNotNone() instead of comparing to None.
* assertLess() for < comparisons.
* assertIs() for 'is' expressions.
* assertIsInstance() for isinstance() expressions.
* rounding of assertAlmostEqual() for round() expressions.
* assertIs(..., True/False) instead of comparing to True/False.
* assertIs()/assertIsNot() for ==/!= comparisons.
* assertNotEqual() for == comparisons.
* assertTrue()/assertFalse() instead of comparing to True/False.
2019-10-29 12:37:30 +01:00
..
comparison Fixed #30661 -- Added models.SmallAutoField. 2019-08-02 11:39:01 +02:00
datetime Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day lookup. 2019-10-02 10:41:34 +02:00
math Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
migrations Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions. 2019-03-20 19:30:43 +01:00
text Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions. 2019-03-20 19:30:43 +01:00
window Reorganized window db function tests. 2018-08-16 09:32:42 -04:00
__init__.py Fixed #23753 -- Added a suite of SQL Functions 2014-12-27 15:27:27 +11:00
models.py Fixed #29648 -- Fixed crash when using subqueries inside datetime truncation functions. 2018-08-07 16:47:54 -04:00
tests.py Fixed #29658 -- Registered model lookups in tests with a context manager. 2018-08-21 12:17:46 -04:00