6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Merge pull request #1 from artyom-smirnov/allow-dev-versions

Allow run tests on firebird built with --enable-developer flag
This commit is contained in:
Pavel Císař 2021-09-03 18:06:19 +02:00 committed by GitHub
commit 9f312483f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ def pytest_configure(config):
# #
with connect_server(_vars_['server'], user='SYSDBA', with connect_server(_vars_['server'], user='SYSDBA',
password=_vars_['password']) as srv: password=_vars_['password']) as srv:
_vars_['version'] = parse(srv.info.version) _vars_['version'] = parse(srv.info.version.replace('-dev', ''))
_vars_['home-dir'] = Path(srv.info.home_directory) _vars_['home-dir'] = Path(srv.info.home_directory)
_vars_['lock-dir'] = Path(srv.info.lock_directory) _vars_['lock-dir'] = Path(srv.info.lock_directory)
_vars_['security-db'] = Path(srv.info.security_database) _vars_['security-db'] = Path(srv.info.security_database)