(self)
| 68 | |
| 69 | @cached_property |
| 70 | def django_test_skips(self): |
| 71 | skips = { |
| 72 | "SQLite stores values rounded to 15 significant digits.": { |
| 73 | "model_fields.test_decimalfield.DecimalFieldTests." |
| 74 | "test_fetch_from_db_without_float_rounding", |
| 75 | }, |
| 76 | "SQLite naively remakes the table on field alteration.": { |
| 77 | "schema.tests.SchemaTests.test_unique_no_unnecessary_fk_drops", |
| 78 | "schema.tests.SchemaTests.test_unique_and_reverse_m2m", |
| 79 | "schema.tests.SchemaTests." |
| 80 | "test_alter_field_default_doesnt_perform_queries", |
| 81 | "schema.tests.SchemaTests." |
| 82 | "test_rename_column_renames_deferred_sql_references", |
| 83 | }, |
| 84 | "SQLite doesn't support negative precision for ROUND().": { |
| 85 | "db_functions.math.test_round.RoundTests." |
| 86 | "test_null_with_negative_precision", |
| 87 | "db_functions.math.test_round.RoundTests." |
| 88 | "test_decimal_with_negative_precision", |
| 89 | "db_functions.math.test_round.RoundTests." |
| 90 | "test_float_with_negative_precision", |
| 91 | "db_functions.math.test_round.RoundTests." |
| 92 | "test_integer_with_negative_precision", |
| 93 | }, |
| 94 | "The actual query cannot be determined on SQLite": { |
| 95 | "backends.base.test_base.ExecuteWrapperTests.test_wrapper_debug", |
| 96 | }, |
| 97 | } |
| 98 | if self.connection.is_in_memory_db(): |
| 99 | skips.update( |
| 100 | { |
| 101 | "the sqlite backend's close() method is a no-op when using an " |
| 102 | "in-memory database": { |
| 103 | "servers.test_liveserverthread.LiveServerThreadTest." |
| 104 | "test_closes_connections", |
| 105 | "servers.tests.LiveServerTestCloseConnectionTest." |
| 106 | "test_closes_connections", |
| 107 | }, |
| 108 | "For SQLite in-memory tests, closing the connection destroys " |
| 109 | "the database.": { |
| 110 | "test_utils.tests.AssertNumQueriesUponConnectionTests." |
| 111 | "test_ignores_connection_configuration_queries", |
| 112 | }, |
| 113 | } |
| 114 | ) |
| 115 | else: |
| 116 | skips.update( |
| 117 | { |
| 118 | "Only connections to in-memory SQLite databases are passed to the " |
| 119 | "server thread.": { |
| 120 | "servers.tests.LiveServerInMemoryDatabaseLockTest." |
| 121 | "test_in_memory_database_lock", |
| 122 | }, |
| 123 | "multiprocessing's start method is checked only for in-memory " |
| 124 | "SQLite databases": { |
| 125 | "backends.sqlite.test_creation.TestDbSignatureTests." |
| 126 | "test_get_test_db_clone_settings_not_supported", |
| 127 | }, |
nothing calls this directly
no test coverage detected