You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using pytest-mysql to unit test queries to MariaDB. One of the queries uses the convert_tz function to shift a DateTime from one timezone to another. MySQL / MariaDB rely on metadata about timezones to perform this operation. The metadata is often loaded using the mysql_tzinfo_to_sqltool and the system's zoneinfo dataset. The output of that tool is meant to be piped into the mysql command-line interface.
Question
Is there a way that I can use the mysql CLI to access a pytest-mysql instance? Is there any other known way to import timezone metadata into a pytest-mysql instance?
The text was updated successfully, but these errors were encountered:
Context
I am using pytest-mysql to unit test queries to MariaDB. One of the queries uses the convert_tz function to shift a DateTime from one timezone to another. MySQL / MariaDB rely on metadata about timezones to perform this operation. The metadata is often loaded using the
mysql_tzinfo_to_sql
tool and the system's zoneinfo dataset. The output of that tool is meant to be piped into the mysql command-line interface.Question
Is there a way that I can use the mysql CLI to access a pytest-mysql instance? Is there any other known way to import timezone metadata into a pytest-mysql instance?
The text was updated successfully, but these errors were encountered: