mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-23 05:53:06 +01:00
27 lines
613 B
Python
27 lines
613 B
Python
#coding:utf-8
|
|
|
|
"""
|
|
ID: create-database-11
|
|
TITLE: Create database: Default char set NONE
|
|
DESCRIPTION: This test should be implemented for all char sets.
|
|
FBTEST: functional.database.create.11
|
|
"""
|
|
|
|
import pytest
|
|
from firebird.qa import *
|
|
|
|
db = db_factory()
|
|
|
|
act = isql_act('db', 'SELECT RDB$CHARACTER_SET_NAME FROM rdb$Database;', substitutions=[('=.*', '')])
|
|
|
|
expected_stdout = """
|
|
RDB$CHARACTER_SET_NAME
|
|
NONE
|
|
"""
|
|
|
|
@pytest.mark.version('>=3.0')
|
|
def test_1(act: Action):
|
|
act.expected_stdout = expected_stdout
|
|
act.execute()
|
|
assert act.clean_stdout == act.clean_expected_stdout
|