def test_correct_for_mysql_bug_88718(self):
    dialect = mysql.dialect()
    for (casing, (fkeys, ischema)) in [(0, self._bug_88718_casing_0()), (1, self._bug_88718_casing_1()), (2, self._bug_88718_casing_2())]:
        dialect._casing = casing
        dialect.default_schema_name = 'test'
        connection = mock.Mock(dialect=dialect, execute=(lambda stmt, **params: ischema))
        dialect._correct_for_mysql_bug_88718(fkeys, connection)
        eq_(fkeys, [{'name': 'FK_PlaylistTTrackId', 'constrained_columns': ['TTrackID'], 'referred_schema': 'test_schema', 'referred_table': 'Track', 'referred_columns': ['TrackID'], 'options': {}}, {'name': 'FK_PlaylistTrackId', 'constrained_columns': ['TrackID'], 'referred_schema': None, 'referred_table': 'Track', 'referred_columns': ['TrackID'], 'options': {}}])
def test_correct_for_mysql_bug_88718(self):
    dialect = mysql.dialect()
    for (casing, (fkeys, ischema)) in [(0, self._bug_88718_casing_0()), (1, self._bug_88718_casing_1()), (2, self._bug_88718_casing_2())]:
        dialect._casing = casing
        dialect.default_schema_name = 'test'
        connection = mock.Mock(dialect=dialect, execute=(lambda stmt, **params: ischema))
        dialect._correct_for_mysql_bug_88718(fkeys, connection)
        eq_(fkeys, [{'name': 'FK_PlaylistTTrackId', 'constrained_columns': ['TTrackID'], 'referred_schema': 'test_schema', 'referred_table': 'Track', 'referred_columns': ['TrackID'], 'options': {}}, {'name': 'FK_PlaylistTrackId', 'constrained_columns': ['TrackID'], 'referred_schema': None, 'referred_table': 'Track', 'referred_columns': ['TrackID'], 'options': {}}])