wwdtm

This module provides functions used to by pytest to run tests against the functions within the base wwdtm module.

test_init

Testing for: wwdtm.

tests.test_init.get_connect_dict()

Retrieves database connection settings.

Returns:

A dictionary containing database connection settings as required by MySQL Connector/Python

Return type:

dict[str, Any]

tests.test_init.get_database_connection()

Creates a database connection object.

Returns:

MySQL database connection object

Return type:

MySQLConnection | PooledMySQLConnection

tests.test_init.test_database_version_connect_dict()

Testing for wwdtm.database_version() with connect_dict.

tests.test_init.test_database_version_connection()

Testing for wwdtm.database_version() with database connection.