From baa278f259cb821d1ba00c790a02eb49f4086e26 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Sun, 29 Dec 2024 11:34:00 +0300 Subject: [PATCH] Added/Updated tests\functional\database\alter\test_03.py: Added restriction for FB 6.x: this test now must be skipped, see commit f0740d2a: Wipe out multi-file database support --- tests/functional/database/alter/test_03.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/functional/database/alter/test_03.py b/tests/functional/database/alter/test_03.py index 952c87c3..b86701aa 100644 --- a/tests/functional/database/alter/test_03.py +++ b/tests/functional/database/alter/test_03.py @@ -5,14 +5,18 @@ ID: alter-database-03 TITLE: Alter database: add file with name of this database or previously added files must fail DESCRIPTION: Add same file twice must fail NOTES: - [08.02.2022] pcisar - Fails on Windows with 3.0.8: + [08.02.2022] pcisar + Fails on Windows with 3.0.8: Regex pattern '.*Cannot add file with the same name as the database or added files.*' does not match 'unsuccessful metadata update\n-ALTER DATABASE failed\n-unknown ISC error 336068774'. - [08.04.2022] pzotov - Test PASSES on FB 3.0.8 Rls, 4.0.1 RLs and 5.0.0.467. -FBTEST: functional.database.alter.03 + [08.04.2022] pzotov + Test PASSES on FB 3.0.8 Rls, 4.0.1 RLs and 5.0.0.467. + + [29.12.2024] pzotov + Added restriction for FB 6.x: this test now must be skipped, see: + https://github.com/FirebirdSQL/firebird/commit/f0740d2a3282ed92a87b8e0547139ba8efe61173 + ("Wipe out multi-file database support (#8047)") """ import pytest @@ -24,7 +28,7 @@ db = db_factory() act = python_act('db') -@pytest.mark.version('>=3.0') +@pytest.mark.version('>=3.0,<6') def test_1(act: Action, capsys): with act.db.connect() as con: with con.cursor() as c: