From c8d0c450f780969d484ccefb85c1459164121e5b Mon Sep 17 00:00:00 2001 From: Pavel Cisar Date: Thu, 27 May 2021 19:33:30 +0200 Subject: [PATCH] Fix bug with password --- firebird/qa/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firebird/qa/plugin.py b/firebird/qa/plugin.py index 174b15bf..58740452 100644 --- a/firebird/qa/plugin.py +++ b/firebird/qa/plugin.py @@ -120,9 +120,9 @@ def pytest_configure(config): _vars_['server'] = config.getoption('server') _vars_['bin-dir'] = config.getoption('bin_dir') _vars_['protocol'] = config.getoption('protocol') - _vars_['password'] = config.getoption('password', 'masterkey') srv_conf = driver_config.get_server(_vars_['server']) _vars_['host'] = srv_conf.host.value if srv_conf is not None else '' + _vars_['password'] = srv_conf.password.value # with connect_server(_vars_['server'], user='SYSDBA', password=_vars_['password']) as srv: