6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 21:43:06 +01:00
firebird-qa/tests/bugs/core_0696_test.py

32 lines
531 B
Python

#coding:utf-8
"""
ID: issue-1065
ISSUE: 1065
TITLE: User Account maintanance in SQL
DESCRIPTION:
JIRA: CORE-696
FBTEST: bugs.core_0696
"""
import pytest
from firebird.qa import *
db = db_factory()
test_script = """CREATE USER alex PASSWORD 'test';
COMMIT;
ALTER USER alex FIRSTNAME 'Alex' LASTNAME 'Peshkov';
COMMIT;
ALTER USER alex PASSWORD 'IdQfA';
COMMIT;
DROP USER alex;
COMMIT;
"""
act = isql_act('db', test_script)
@pytest.mark.version('>=3')
def test_1(act: Action):
act.execute()