Add env vars for custom bin names (#2706)

This commit is contained in:
Polina Bungina
2023-06-01 14:06:11 +02:00
committed by GitHub
parent af318b2473
commit 21e92fd166
4 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ class TestConfig(unittest.TestCase):
'PATRONI_REPLICATION_USERNAME': 'replicator',
'PATRONI_REPLICATION_PASSWORD': 'rep-pass',
'PATRONI_admin_PASSWORD': 'admin',
'PATRONI_admin_OPTIONS': 'createrole,createdb'
'PATRONI_admin_OPTIONS': 'createrole,createdb',
'PATRONI_POSTGRESQL_BIN_POSTGRES': 'sergtsop'
})
config = Config('postgres0.yml')
with patch.object(Config, '_load_config_file', Mock(return_value={'restapi': {}})):