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 'sentinels': redis_sentinels,
18 'shards': [{'name': 'test_master0'}],
19 },
20 },
21 }
22
23 return {'SECDIST_CONFIG': json.dumps(secdist_config)}
24