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

Added/Updated functional\database\alter\test_03.py: Test PASSES on FB 3.0.8 Rls, 4.0.1 RLs and 5.0.0.467.

This commit is contained in:
zotov 2022-04-08 16:03:30 +03:00
parent 0e933ea00b
commit 7660db3737

View File

@ -5,10 +5,13 @@ 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
[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
"""
@ -21,7 +24,6 @@ db = db_factory()
act = python_act('db')
@pytest.mark.skipif(platform.system() == 'Windows', reason='FIXME: see notes')
@pytest.mark.version('>=3.0')
def test_1(act: Action, capsys):
with act.db.connect() as con: