1
2import json
3
4import pytest
5
6pytest_plugins = ['pytest_userver.plugins.redis']
7
8
9
10
11@pytest.fixture(scope='session')
12def service_env(redis_sentinels):
13 secdist_config = {
14 'redis_settings': {
15 'taxi-tmp': {
16 'password': '',
17 'database_index': 0,
18 'sentinels': redis_sentinels,
19 'shards': [{'name': 'test_master0'}],
20 },
21 },
22 }
23
24 return {'SECDIST_CONFIG': json.dumps(secdist_config)}
25