6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 05:23:06 +01:00

Added/Updated tests\bugs\gh_8265_test.py: fixed wrong value of argument for 'driver_config.register_server()' call that caused another test fail with 'Server ... already registered'

This commit is contained in:
pavel-zotov 2024-09-27 08:46:23 +03:00
parent 89e3f717f8
commit ebc90eff48

View File

@ -106,8 +106,8 @@ def test_1(act: Action, capsys):
for sq_conv in ('true','false',):
srv_cfg = driver_config.register_server(name = f'srv_cfg_aae2ae32_{sq_conv}', config = '')
db_cfg_name = f'db_cfg_aae2ae32_{sq_conv}'
srv_cfg = driver_config.register_server(name = f'srv_cfg_8265_{sq_conv}', config = '')
db_cfg_name = f'db_cfg_8265_{sq_conv}'
db_cfg_object = driver_config.register_database(name = db_cfg_name)
db_cfg_object.server.value = srv_cfg.name
db_cfg_object.database.value = str(act.db.db_path)