MCPcopy Create free account
hub / github.com/python-arq/arq / test_settings_plain

Function test_settings_plain

tests/test_utils.py:203–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201
202
203def test_settings_plain():
204 settings = RedisSettings()
205 assert asdict(settings) == {
206 'host': 'localhost',
207 'port': 6379,
208 'unix_socket_path': None,
209 'database': 0,
210 'username': None,
211 'password': None,
212 'ssl': False,
213 'ssl_keyfile': None,
214 'ssl_certfile': None,
215 'ssl_cert_reqs': 'required',
216 'ssl_ca_certs': None,
217 'ssl_ca_data': None,
218 'ssl_check_hostname': False,
219 'conn_timeout': 1,
220 'conn_retries': 5,
221 'conn_retry_delay': 1,
222 'sentinel': False,
223 'sentinel_master': 'mymaster',
224 'retry_on_timeout': False,
225 'retry_on_error': None,
226 'retry': None,
227 'max_connections': None,
228 }
229
230
231def test_settings_from_socket_dsn():

Callers

nothing calls this directly

Calls 1

RedisSettingsClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…