django/tests/schema
Simon Charette 30ec7fe89a Refs #33288 -- Made SQLite introspection raise DatabaseError on nonexistent tables.
All the other backends behave this way and we had to make adjustments
to our test suite to account for this discrepancy.

This also allows SQLite's get_relations() not to raise on a nonexistent
table while making sure the InspectDBTestCase.test_introspection_errors
test which ensures an error during introspection is surfaced in
generated models files still passes.
2021-11-15 07:57:00 +01:00
..
__init__.py Merge branch 'master' into schema-alteration 2013-04-18 17:16:39 +01:00
fields.py Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db.models. 2021-07-15 11:43:33 +02:00
models.py Fixed #32503 -- Fixed altering BLOB/TEXT field to non-nullable with default on MySQL 8.0.13+. 2021-05-21 13:34:37 +02:00
test_logging.py Replaced django.test.utils.patch_logger() with assertLogs(). 2018-05-07 09:34:00 -04:00
tests.py Refs #33288 -- Made SQLite introspection raise DatabaseError on nonexistent tables. 2021-11-15 07:57:00 +01:00