From 145f400500cde2faca966e43b662213bcb38553c Mon Sep 17 00:00:00 2001 From: starcat37 Date: Wed, 18 Oct 2023 22:50:21 +0900 Subject: [PATCH 1/2] add charset setting to test setUp --- pymysqlreplication/tests/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymysqlreplication/tests/base.py b/pymysqlreplication/tests/base.py index b288be84..0198f014 100644 --- a/pymysqlreplication/tests/base.py +++ b/pymysqlreplication/tests/base.py @@ -51,6 +51,7 @@ def setUp(self, charset="utf8"): self.execute("DROP DATABASE IF EXISTS pymysqlreplication_test") self.execute("CREATE DATABASE pymysqlreplication_test") db = copy.copy(self.database) + db["charset"] = charset self.connect_conn_control(db) self.stream = None self.resetBinLog() From 971da348675b1d72fb05232d03db0aabf7d7553b Mon Sep 17 00:00:00 2001 From: starcat37 Date: Wed, 18 Oct 2023 23:14:31 +0900 Subject: [PATCH 2/2] fix: include test_query_event_latin1 test --- .github/workflows/pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3de4da84..84966026 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -4,7 +4,7 @@ on: pull_request: workflow_dispatch: env: - PYTEST_SKIP_OPTION: "not test_no_trailing_rotate_event and not test_end_log_pos and not test_query_event_latin1" + PYTEST_SKIP_OPTION: "not test_no_trailing_rotate_event and not test_end_log_pos" jobs: test: strategy: