Fixed #33713 -- Dropped support for MariaDB 10.3.

This commit is contained in:
Mariusz Felisiak 2022-05-18 08:38:08 +02:00 committed by GitHub
parent 2cec020f5b
commit 19297de2fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 14 deletions

View file

@ -107,8 +107,8 @@ class Tests(TestCase):
@mock.patch.object(connection, "get_database_version")
def test_check_database_version_supported(self, mocked_get_database_version):
if connection.mysql_is_mariadb:
mocked_get_database_version.return_value = (10, 2)
msg = "MariaDB 10.3 or later is required (found 10.2)."
mocked_get_database_version.return_value = (10, 3)
msg = "MariaDB 10.4 or later is required (found 10.3)."
else:
mocked_get_database_version.return_value = (5, 6)
msg = "MySQL 5.7 or later is required (found 5.6)."