MCPcopy
hub / github.com/redis/redis-py / maint_notifications_cluster_bdb_config

Function maint_notifications_cluster_bdb_config

tests/test_scenario/conftest.py:114–120  ·  view source on GitHub ↗

Get the bdb config for the cluster used in the maint notifications tests. This will be used to create the test database for each test. The bdb config is the same for all tests, but the database is created with a random name.

(cluster_endpoint_name: str)

Source from the content-addressed store, hash-verified

112
113@pytest.fixture()
114def maint_notifications_cluster_bdb_config(cluster_endpoint_name: str):
115 """
116 Get the bdb config for the cluster used in the maint notifications tests.
117 This will be used to create the test database for each test.
118 The bdb config is the same for all tests, but the database is created with a random name.
119 """
120 return get_bdbs_config(cluster_endpoint_name)
121
122
123@pytest.fixture()

Callers

nothing calls this directly

Calls 1

get_bdbs_configFunction · 0.85

Tested by

no test coverage detected