django1/tests/db_functions/math
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
..
__init__.py Refs #28643 -- Added math database functions. 2018-07-05 11:02:12 -04:00
test_abs.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_acos.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_asin.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_atan.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_atan2.py Fixed #29500 -- Fixed SQLite function crashes on null values. 2018-09-10 15:08:55 -04:00
test_ceil.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_cos.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_cot.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_degrees.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_exp.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_floor.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_ln.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_log.py Fixed #29500 -- Fixed SQLite function crashes on null values. 2018-09-10 15:08:55 -04:00
test_mod.py Fixed #29500 -- Fixed SQLite function crashes on null values. 2018-09-10 15:08:55 -04:00
test_pi.py Refs #28643 -- Added math database functions. 2018-07-05 11:02:12 -04:00
test_power.py Fixed #29500 -- Fixed SQLite function crashes on null values. 2018-09-10 15:08:55 -04:00
test_radians.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_round.py Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
test_sign.py Fixed #30271 -- Added the Sign database function. 2019-03-22 12:52:39 +01:00
test_sin.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_sqrt.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
test_tan.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00