django1/tests/get_or_create
Tim Graham 567cfc1601 [1.10.x] Replaced use of TestCase.fail() with assertRaises().
Also removed try/except/fail antipattern that hides exceptions.

Backport of c9ae09addf from master
2016-07-01 09:58:56 -04:00
..
__init__.py
models.py Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
tests.py [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00