MCPcopy
hub / github.com/django/django / _make_connections_override

Method _make_connections_override

django/test/testcases.py:1820–1827  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1818
1819 @classmethod
1820 def _make_connections_override(cls):
1821 connections_override = {}
1822 for conn in connections.all():
1823 # If using in-memory sqlite databases, pass the connections to
1824 # the server thread.
1825 if conn.vendor == "sqlite" and conn.is_in_memory_db():
1826 connections_override[conn.alias] = conn
1827 return connections_override
1828
1829 @classmethod
1830 def setUpClass(cls):

Callers 1

_start_server_threadMethod · 0.45

Calls 2

allMethod · 0.45
is_in_memory_dbMethod · 0.45

Tested by

no test coverage detected