1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00
django/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
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_atan2.py
test_atan.py Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -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
test_mod.py
test_pi.py
test_power.py
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