#31805: MySQL Schema tests fail when table names are case-insensitive.
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: felixxm
Type: Bug | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: mysql, schema, | Triage Stage: Accepted
windows |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Carlton Gibson):
I see this on Windows 10 with MySQL 8.
{{{
...
MySQLdb._exceptions.OperationalError: (1050, "Table 'integerpk' already
exists")
...
Ran 131 tests in 42.172s
FAILED (errors=2, skipped=18)
Destroying test database for alias 'default'...
(django) PS C:\Users\carlt\src\django\tests> django-admin.exe shell
--settings=test_mysql
Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916
64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.db import connection
>>> connection.features.ignores_table_name_case
True
}}}
The adjustment in Mariusz´ PR fixes the failure.
--
Ticket URL: <https://code.djangoproject.com/ticket/31805#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.42a82b1dc9145a28c70dc9b062f1d365%40djangoproject.com.