6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-02-02 02:40:42 +01:00

Clenup + todo

This commit is contained in:
Pavel Císař 2022-03-07 20:06:04 +01:00
parent 6566706968
commit 9c85eb0cb6
2 changed files with 4 additions and 7 deletions

View File

@ -912,6 +912,9 @@ How to use users
How to use roles
----------------
How to use temporary files
--------------------------
.. _Python: http://www.python.org
.. _virtualenv: https://virtualenv.pypa.io/en/latest/
.. _virtualenvwrapper: https://virtualenvwrapper.rtfd.io

View File

@ -60,13 +60,7 @@ expected_stdout = """
@pytest.mark.skip("Can't be implement with new Python driver")
@pytest.mark.version('>=3')
def test_1(act: Action, tmp_user: User):
# 1. Try to specifying 'force_write' flag: no errors and NO changes in 2.1.1; error in 2.1.2 and above
act.db._make_config(user=tmp_user.name, password=tmp_user.password)
db_conf = driver_config.get_database('pytest')
db_conf.forced_writes.value = True
with pytest.raises():
connect('pytest')
# 2. Try to specifying 'no_reserve' flag: no errors and NO changes in 2.1.1; error in 2.1.2 and above
pass
# test_script_1
#---