MCPcopy
hub / github.com/django/django / django_test_skips

Method django_test_skips

django/db/backends/postgresql/features.py:92–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

90
91 @cached_property
92 def django_test_skips(self):
93 skips = {
94 "opclasses are PostgreSQL only.": {
95 "indexes.tests.SchemaIndexesNotPostgreSQLTests."
96 "test_create_index_ignores_opclasses",
97 },
98 "PostgreSQL requires casting to text.": {
99 "lookup.tests.LookupTests.test_textfield_exact_null",
100 },
101 }
102 if self.connection.settings_dict["OPTIONS"].get("pool"):
103 skips.update(
104 {
105 "Pool does implicit health checks": {
106 "backends.base.test_base.ConnectionHealthChecksTests."
107 "test_health_checks_enabled",
108 "backends.base.test_base.ConnectionHealthChecksTests."
109 "test_set_autocommit_health_checks_enabled",
110 },
111 }
112 )
113 if self.uses_server_side_binding:
114 skips.update(
115 {
116 "The actual query cannot be determined for server side bindings": {
117 "backends.base.test_base.ExecuteWrapperTests."
118 "test_wrapper_debug",
119 }
120 },
121 )
122 return skips
123
124 @cached_property
125 def django_test_expected_failures(self):

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected