Skip to content

Commit

Permalink
feat: change TestOptionalMetaData with percona8
Browse files Browse the repository at this point in the history
  • Loading branch information
heehehe committed Sep 18, 2023
1 parent 7d070c4 commit ff58278
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pymysqlreplication/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def bin_log_basename(self):

class PyMySQLReplicationPercona8TestCase(PyMySQLReplicationTestCase):
def setUp(self):
super().setUp()
# default
self.database = {
"host": os.environ.get("MYSQL_8_0") or "localhost",
Expand All @@ -184,3 +185,5 @@ def setUp(self):
self.connect_conn_control(db)
self.stream = None
self.resetBinLog()
self.isMySQL80AndMore()
self.__is_mariaDB = None
2 changes: 1 addition & 1 deletion pymysqlreplication/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ def test_query_event_latin1(self):
assert event.query == r"CREATE TABLE test_latin1_\xd6\xc6\xdb (a INT)"


class TestOptionalMetaData(base.PyMySQLReplicationTestCase):
class TestOptionalMetaData(base.PyMySQLReplicationPercona8TestCase):
def setUp(self):
super(TestOptionalMetaData, self).setUp()
self.stream.close()
Expand Down

0 comments on commit ff58278

Please sign in to comment.