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

Added/Updated tests\bugs\gh_8194_test.py: minor change: added note about mandatory charset = utf8

This commit is contained in:
pavel-zotov 2024-08-02 21:51:17 +03:00
parent eec8472514
commit b17f7ce10c

View File

@ -78,6 +78,9 @@ def test_1(act: Action, capsys):
db_cfg_object.protocol.value = NetProtocol.INET db_cfg_object.protocol.value = NetProtocol.INET
db_cfg_object.database.value = REQUIRED_ALIAS db_cfg_object.database.value = REQUIRED_ALIAS
for i in range(LOOP_LIMIT): for i in range(LOOP_LIMIT):
# ::: NB :::
# charset must be 'utf8' otherwise problem can not be reproduced!
# (see also note by the author of ticket in his starting message)
with create_database(db_cfg_name, user = act.db.user, password = act.db.password, charset = 'utf8') as con: with create_database(db_cfg_name, user = act.db.user, password = act.db.password, charset = 'utf8') as con:
con.drop_database() con.drop_database()