From 35938493a4c034313fe98d863b01bba72b02e6db Mon Sep 17 00:00:00 2001 From: Artyom Smirnov Date: Wed, 30 Jun 2021 17:38:23 +0300 Subject: [PATCH] Allow run tests on firebird built with --enable-developer flag --- 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 07408bcf..6dc6e042 100644 --- a/firebird/qa/plugin.py +++ b/firebird/qa/plugin.py @@ -126,7 +126,7 @@ def pytest_configure(config): # with connect_server(_vars_['server'], user='SYSDBA', 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_['lock-dir'] = Path(srv.info.lock_directory) _vars_['security-db'] = Path(srv.info.security_database)