Update unit tests to handle MariaDB and MySQL 8 differences.

Review Request #12041 — Created Feb. 4, 2022 and submitted — Latest diff uploaded

Information

Django Evolution
release-2.x

Reviewers

We had some tests that worked on MariaDB, and older versions of MySQL,
but failed on MySQL 8.

These tests now check a flag in the database backend for MariaDB, and
conditionalize the expected SQL statements based on this flag.

Unit tests pass for all supported databases.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Update unit tests to handle MariaDB and MySQL 8 differences.
We had some tests that worked on MariaDB, and older versions of MySQL, but failed on MySQL 8. These tests now check a flag in the database backend for MariaDB, and conditionalize the expected SQL statements based on this flag.
de8c3eb6f9c2846d0dae4077bb490e5a404ae001 Christian Hammond
django_evolution/tests/db/mysql.py
Loading...