| 97 | |
| 98 | @cached_property |
| 99 | def django_test_skips(self): |
| 100 | skips = { |
| 101 | "Oracle doesn't support SHA224.": { |
| 102 | "db_functions.text.test_sha224.SHA224Tests.test_basic", |
| 103 | "db_functions.text.test_sha224.SHA224Tests.test_transform", |
| 104 | }, |
| 105 | "Oracle doesn't correctly calculate ISO 8601 week numbering before " |
| 106 | "1583 (the Gregorian calendar was introduced in 1582).": { |
| 107 | "db_functions.datetime.test_extract_trunc.DateFunctionTests." |
| 108 | "test_trunc_week_before_1000", |
| 109 | "db_functions.datetime.test_extract_trunc." |
| 110 | "DateFunctionWithTimeZoneTests.test_trunc_week_before_1000", |
| 111 | }, |
| 112 | "Oracle doesn't support bitwise XOR.": { |
| 113 | "expressions.tests.ExpressionOperatorTests.test_lefthand_bitwise_xor", |
| 114 | "expressions.tests.ExpressionOperatorTests." |
| 115 | "test_lefthand_bitwise_xor_null", |
| 116 | "expressions.tests.ExpressionOperatorTests." |
| 117 | "test_lefthand_bitwise_xor_right_null", |
| 118 | }, |
| 119 | "Oracle requires ORDER BY in row_number, ANSI:SQL doesn't.": { |
| 120 | "expressions_window.tests.WindowFunctionTests." |
| 121 | "test_row_number_no_ordering", |
| 122 | "prefetch_related.tests.PrefetchLimitTests.test_empty_order", |
| 123 | }, |
| 124 | "Oracle doesn't support changing collations on indexed columns (#33671).": { |
| 125 | "migrations.test_operations.OperationTests." |
| 126 | "test_alter_field_pk_fk_db_collation", |
| 127 | }, |
| 128 | "Oracle doesn't support comparing NCLOB to NUMBER.": { |
| 129 | "generic_relations_regress.tests.GenericRelationTests." |
| 130 | "test_textlink_filter", |
| 131 | }, |
| 132 | "Oracle doesn't support casting filters to NUMBER.": { |
| 133 | "lookup.tests.LookupQueryingTests.test_aggregate_combined_lookup", |
| 134 | }, |
| 135 | "Oracle doesn't support some data types (e.g. BOOLEAN, BLOB) in " |
| 136 | "GeneratedField expressions (ORA-54003).": { |
| 137 | "schema.tests.SchemaTests.test_add_generated_field_contains", |
| 138 | "schema.tests.SchemaTests.test_add_generated_field_with_kt_model", |
| 139 | }, |
| 140 | } |
| 141 | if self.connection.oracle_version < (23,): |
| 142 | skips.update( |
| 143 | { |
| 144 | "Raises ORA-00600 on Oracle < 23c: internal error code.": { |
| 145 | "model_fields.test_jsonfield.TestQuerying." |
| 146 | "test_usage_in_subquery", |
| 147 | }, |
| 148 | } |
| 149 | ) |
| 150 | if self.connection.is_pool: |
| 151 | skips.update( |
| 152 | { |
| 153 | "Pooling does not support persistent connections": { |
| 154 | "backends.base.test_base.ConnectionHealthChecksTests." |
| 155 | "test_health_checks_enabled", |
| 156 | "backends.base.test_base.ConnectionHealthChecksTests." |