2022-02-24 19:18:17 +01:00
|
|
|
.. module:: firebird.qa.plugin
|
|
|
|
:synopsis: Main Firebird driver code
|
|
|
|
|
|
|
|
############################
|
|
|
|
Firebird-QA plugin Reference
|
|
|
|
############################
|
|
|
|
|
2022-06-19 15:50:08 +02:00
|
|
|
Objects for use in tests
|
|
|
|
========================
|
|
|
|
|
2022-06-30 17:37:21 +02:00
|
|
|
QA_GLOBALS
|
|
|
|
----------
|
|
|
|
.. autodata:: QA_GLOBALS
|
2022-06-19 15:50:08 +02:00
|
|
|
|
|
|
|
Functions and classes for use in tests
|
2022-02-24 19:18:17 +01:00
|
|
|
======================================
|
|
|
|
|
|
|
|
db_factory
|
|
|
|
----------
|
|
|
|
.. autofunction:: db_factory
|
|
|
|
|
2024-05-09 16:23:00 +02:00
|
|
|
existing_db_factory
|
|
|
|
-------------------
|
|
|
|
.. autofunction:: existing_db_factory
|
|
|
|
|
2022-02-24 19:18:17 +01:00
|
|
|
user_factory
|
|
|
|
------------
|
|
|
|
.. autofunction:: user_factory
|
|
|
|
|
|
|
|
role_factory
|
|
|
|
------------
|
|
|
|
.. autofunction:: role_factory
|
|
|
|
|
|
|
|
envar_factory
|
|
|
|
-------------
|
|
|
|
.. autofunction:: envar_factory
|
|
|
|
|
2022-06-30 17:37:21 +02:00
|
|
|
mapping_factory
|
|
|
|
---------------
|
|
|
|
.. autofunction:: mapping_factory
|
|
|
|
|
2022-02-24 19:18:17 +01:00
|
|
|
temp_file
|
|
|
|
---------
|
|
|
|
.. autofunction:: temp_file
|
|
|
|
|
|
|
|
temp_files
|
|
|
|
----------
|
|
|
|
.. autofunction:: temp_files
|
|
|
|
|
|
|
|
isql_act
|
|
|
|
--------
|
|
|
|
.. autofunction:: isql_act
|
|
|
|
|
|
|
|
python_act
|
|
|
|
----------
|
|
|
|
.. autofunction:: python_act
|
|
|
|
|
|
|
|
Database
|
|
|
|
--------
|
|
|
|
.. autoclass:: Database
|
|
|
|
|
|
|
|
User
|
|
|
|
----
|
|
|
|
.. autoclass:: User
|
|
|
|
|
|
|
|
Role
|
|
|
|
----
|
|
|
|
.. autoclass:: Role
|
|
|
|
|
|
|
|
Envar
|
|
|
|
-----
|
|
|
|
.. autoclass:: Envar
|
|
|
|
|
2022-06-30 17:37:21 +02:00
|
|
|
Mapping
|
|
|
|
-------
|
|
|
|
.. autoclass:: Mapping
|
|
|
|
|
2022-02-24 19:18:17 +01:00
|
|
|
ServerKeeper
|
|
|
|
------------
|
|
|
|
.. autoclass:: ServerKeeper
|
|
|
|
|
|
|
|
Action
|
|
|
|
------
|
|
|
|
.. autoclass:: Action
|
|
|
|
|
|
|
|
ExecutionError
|
|
|
|
--------------
|
|
|
|
.. autoclass:: ExecutionError
|
|
|
|
|
|
|
|
pytest hooks
|
|
|
|
============
|
|
|
|
|
|
|
|
pytest_addoption
|
|
|
|
----------------
|
|
|
|
.. autofunction:: pytest_addoption
|
|
|
|
|
|
|
|
pytest_report_header
|
|
|
|
--------------------
|
|
|
|
.. autofunction:: pytest_report_header
|
|
|
|
|
|
|
|
pytest_configure
|
|
|
|
----------------
|
|
|
|
.. autofunction:: pytest_configure
|
|
|
|
|
|
|
|
pytest_collection_modifyitems
|
|
|
|
-----------------------------
|
|
|
|
.. autofunction:: pytest_collection_modifyitems
|
|
|
|
|
|
|
|
pytest_runtest_makereport
|
|
|
|
-------------------------
|
|
|
|
.. autofunction:: pytest_runtest_makereport
|
|
|
|
|
|
|
|
Internal functions
|
|
|
|
==================
|
|
|
|
|
|
|
|
log_session_context
|
|
|
|
-------------------
|
|
|
|
.. autofunction:: log_session_context
|
|
|
|
|
|
|
|
set_tool
|
|
|
|
--------
|
|
|
|
.. autofunction:: set_tool
|
|
|
|
|
|
|
|
substitute_macros
|
|
|
|
-----------------
|
|
|
|
.. autofunction:: substitute_macros
|
|
|
|
|
|
|
|
db_path
|
|
|
|
-------
|
|
|
|
.. autofunction:: db_path
|
|
|
|
|
|
|
|
trace_thread
|
|
|
|
------------
|
|
|
|
.. autofunction:: trace_thread
|
|
|
|
|
|
|
|
Internal classes
|
|
|
|
================
|
|
|
|
|
|
|
|
TraceSession
|
|
|
|
------------
|
|
|
|
.. autoclass:: TraceSession
|
|
|
|
|
|
|
|
QATerminalReporter
|
|
|
|
------------------
|
|
|
|
.. autoclass:: QATerminalReporter
|
|
|
|
|
|
|
|
.. _firebird-driver: https://firebird-driver.rtfd.io/en/latest
|