mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-23 05:53:06 +01:00
24 lines
486 B
Python
24 lines
486 B
Python
#coding:utf-8
|
|
|
|
"""
|
|
ID: issue-3217
|
|
ISSUE: 3217
|
|
TITLE: isql shouldn't display db and user name when extracting a script
|
|
DESCRIPTION:
|
|
JIRA: CORE-2831
|
|
FBTEST: bugs.core_2831
|
|
"""
|
|
|
|
import pytest
|
|
from firebird.qa import *
|
|
|
|
db = db_factory()
|
|
|
|
act = python_act('db', substitutions=[('^((?!Database:|User:).)*$', '')])
|
|
|
|
@pytest.mark.version('>=3.0')
|
|
def test_1(act: Action):
|
|
act.isql(switches=['-x'])
|
|
assert act.clean_stdout == act.clean_expected_stdout
|
|
|