Skip to content

Add omitted charset setting in base.py - #565

Merged
sean-k1 merged 3 commits into
julien-duponchelle:mainfrom
starcat37:fix/tests-charset
Oct 19, 2023
Merged

sean-k1 merged 3 commits into
julien-duponchelle:mainfrom
starcat37:fix/tests-charset

Conversation

@starcat37

@starcat37 starcat37 commented Oct 18, 2023 •

Copy link
Copy Markdown
Contributor

Description

This pull request addresses Issue #564.

To resolve the failing TestLatin1 test, I have added the line db["charset"] = charset to base.py.

As a result of this change, the charset setting now functions correctly in the TestLatin1 test.

class TestLatin1(base.PyMySQLReplicationTestCase):
def setUp(self):
super().setUp(charset="latin1")

With this fix in place, I have also re-included the test_query_event_latin1 test in the pytest suite, as it now passes successfully.

@sean-k1 sean-k1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks your hard work

@sean-k1
sean-k1 merged commit 3bae489 into julien-duponchelle:main Oct 19, 2023
@starcat37
starcat37 deleted the fix/tests-charset branch October 19, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants